Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# USING SHARED CLASS

static private string FileName;
static private int Version;

static public void GenerateVersionedFile()
{
  Version += 1;
  FileName += "(" + Version.ToString() + ")";
}
Source by visualstudiomagazine.com #
 
PREVIOUS NEXT
Tagged: #USING #SHARED #CLASS
ADD COMMENT
Topic
Name
4+4 =