Enumerations

Q1:
Which of the following statements are correct about an enum used inC#.NET?
  1. By default the first enumerator has the value equal to the number of elements present in the list.
  2. The value of each successive enumerator is decreased by 1.
  3. An enumerator contains white space in its name.
  4. A variable cannot be assigned to an enum element.
  5. Values of enum elements cannot be populated from a database.

A 1, 2

B 3, 4

C 4, 5

D 1, 4

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