What is the output of the below code ?
Public enum WeekDays
public class Demo
public static void Main()
Console.WriteLine(WeekDays.Monday + 100);
C# allows the addition of enum members to numbers and vice versa because the overloaded plus operator is overloaded.
Back To Top