C#.Net - Scope of a Variable
Variables whose scope covers a single method are known as local variable.
Variable whose scope covers multiple methods are known as global variables. We must use either static or const keyword for global variable. If we want to modify the value of the global variable, use static, as const prohibits any change in the value of a variable.