constructor vb.net code example
Example 1: visual basic constructor
//Visual Basic
//Constructor
Public Class example
Public Sub New()
End Sub
End Class
Example 2: constructor vb.net
Instance constructor:
Public Sub New()
End Sub
Shared constructor:
Shared Sub New()
End Sub