public class enum c# code example Example: public enum c# enum Season { Spring, Summer, Autumn, Winter }