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