Delcaring CONSTANT.... IN VB.Net

  • Thread starter Thread starter Pete Smith
  • Start date Start date
: How to declare a CONSTANT as part of the CLASS?
:
: VB.Net .Net Framework 1.1.
:
: -Pete

Public Class MyClass

Private Const MyPrivateConstant As Integer = 100
Public Const MyPublicConstant As String = "Hello!"

[...]

End Class
 
Back
Top