c# isolate static member between instance code example
Example 1: C# USING SHARED CLASS
Utilities.CreateFile()
Example 2: 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