16.
Which of the following statements is correct about an enum used in C#.NET?
A. enum is a reference type.
B. enum is a value type.
C. Whether it a value type or a reference type depends upon size.
D. Whether it a value type or a reference type depends upon a Project Setting made in Visual Stiiclio.NET.
E. We can programmatically control whether it is a value type or a reference type.
Answer & Explanation
Answer: Option B
Explanation:
No answer description available for this question. Let us discuss.
View Answer Workspace Report Discuss in Forum
17.
Which of the following statements are correct about an enum used in C#.NET?
An enum can be declared inside a class.
An enum can take Single, Double or Decimal values.
An enum can be declared outside a class.
An enum can be declared inside/outside a namespace.
An object can be assigned to an enum variable.
A. 1, 3, 4
B. 2, 5
C. 3, 4
D. 2, 4, 5
Answer & Explanation
Answer: Option A
Explanation:
No answer description available for this question.