make a variable in method used for entire script C# code example Example: how to create a variable in C# int variable;