Hello, I am new to using Visual Studios.Net. I am trying to write a class using Visual Studios.Net in the Visual Basic section. Could someone tell me what I am doing wrong?
Module Module1
Public Class MyClassName
End Class
Sub New()
Dim intVariable As Integer
intVariable = 0
End Sub
Property Variable() As Integer
Get
Return Variable
End Get
Set(ByVal Value As Integer)
Variable = Value
End Set
End Property
MyClassName End Class
REM I don't really know if End MyClassName should be at the end.
REM book has End Class at the end.
REM But the programs still manages to run I think.
End Module


LinkBack URL
About LinkBacks




Reply With Quote





Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum