Define ReadOnly Property : ReadOnly « Class « VB.Net

Define ReadOnly Property

Define ReadOnly Property
Imports System

Public Class MainClass
    Public Shared ReadOnly MaxEmployees As Integer = 100

    Shared Sub Main(ByVal args As String())
    End Sub

End Class


Related examples in the same category

1.Define and use ReadOnly Class PropertyDefine and use ReadOnly Class Property
2.Define and use Properties: ReadOnly
3.Demo Const and ReadOnlyDemo Const and ReadOnly