declare variable for all the code c# code example
Example: how to create public variable in c#
public static class Myvariables{
public static int x = 1;
}
public static class Myvariables{
public static int x = 1;
}