Blog
How to define the Structure in VB.NET
In this small blog i will explain how to define the Structure in VB.NET.
HTML clipboard
Structure Point
Public a As Integer
Public b As Integer
Public Sub New(ByVal a
As Integer,
ByVal b As Integer)
Me.a = a
Me.b = b
End Sub
Public Overrides Function ToString() As String
Return "(" +
x.ToString() + ", " + y.ToString() +
")"
End Function
End Structure