What is the output of the below code ?
public enum WeekDays
public class Demo
public static void Main()
Enums first member default value is 0 , Wednesdays value is incremented by one by taking previous member value as base value. Hence Wednesday value becomes 11.
Back To Top