Enumerations

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

A 1, 2, 5

B 1, 4

C 3, 5

D 2, 3, 4

ANS:A - 1, 2, 5

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.