how to access a public enum in c# code example Example: public enum c# enum Season { Spring, Summer, Autumn, Winter }