I just would like to know how to implement class constructor in this language.
I just would like to know how to implement class constructor in this language.
A class with a field:
Public Class MyStudent
Public StudentId As Integer
The constructor:
Public Sub New(newStudentId As Integer)
StudentId = newStudentId
End Sub
End Class