how to declare static int variable in c# code example
Example 1: static c#
(static) >> means that the method belongs to the Program class
and not an 'object' of the Program class.
Example 2: c# public static string
public static string saytest = "test";
private static void Main()
{
Console.WriteLine(saytest);
}