Hi!
I get an "Object reference not set to an instance of an object" error while running this code below, and I don't know what is wrong with it..
goes like this:
Dim mypoint As New PairOfSingle(0, 0)
Private Structure PairOfSingle
Dim x As Single
Dim y As Single
Public Sub New(ByVal xCoordinate As Single, ByVal yCoordinate As Single)
x = xCoordinate
y = yCoordinate
End Sub
End Structure`
thanks