1.

Which of the following statements are correct about enum used in C#.NET? Every enum is derived from an Object class. Every enum is a value type. There does not exist a way to print an element of an enum as a string. Every enum is a reference type. The default underlying datatype of an enum is int.

A. 1, 2, 5
B. 1, 4
C. 3, 5
D. 2, 3, 4
Answer» B. 1, 4


Discussion

No Comment Found

Related MCQs