Enumerations

Q1:

Which of the following statements are correct about an enum used inC#.NET?
  1. To use the keyword enum, we should either use [enum] or System.Enum.
  2. enum is a keyword.
  3. Enum is class declared in System.Type namespace.
  4. Enum is a class declared in the current project's root namespace.
  5. Enum is a class declared in System namespace.

A 1, 3

B 2, 4

C 2, 5

D 3, 4

ANS:C - 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.