public static void DoSomething() { int a; string b; //..do something }
In the example above, i have declared two variables. Do they become static
You can't have local static variables.
C# does not support static local variables (variables that are declared in method scope).