shared class in c# code example
Example 1: C# USING SHARED CLASS
Private Shared FileName As String = String.Empty
Private Shared Version As Integer = 0
Public Shared Sub GenerateVersion()
Version += 1
FileName &= "(" & Version.ToString & ")"
End Sub
Example 2: C# USING SHARED CLASS
Utilities.CreateFile()