Which of the below given options are correct about the following code ?
public enum WeekDays
public class Test
public static void Main(string args)
WeekDays wd = WeekDays.Sunday;
Compilation error since we cannot declare a variable of type enum.
Compilation error since we cannot declare only one member inside an enum .
We can declare a variable of type enumerator, and can contain only one enum member.
Back To Top