Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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
Source by visualstudiomagazine.com #
 
PREVIOUS NEXT
Tagged: #USING #SHARED #CLASS
ADD COMMENT
Topic
Name
1+9 =