Discussion :: Enumerations
-
Which of the following statements is true about an enum used in C#.NET?
A.
An implicit cast is needed to convert from enum type to an integral type.
|
B.
An enum variable cannot have a public access modifier.
|
C.
An enum variable cannot have a private access modifier.
|
D.
An enum variable can be defined inside a class or a namespace.
|
E.
An enum variable cannot have a protected access modifier.
|
Answer : Option D
Explanation :
No answer description available for this question.
Be The First To Comment