how to create public variable in csharp

Code Example - how to create public variable in csharp

                
                        public static class Myvariables{

    public static int x = 1;

}