Choose the correct statements about enum used in C#.NET?
A. An enum variable cannot have a private access modifier
B. An enum variable can be defined inside a class or a namespace
C. An enum variable cannot have a protected access modifier
D. An enum variable cannot have a public access modifier
Answer: Option C
Related Questions on Classes and Objects in C Sharp
A. A blueprint for creating objects
B. A method in C#
C. A variable in C#
D. A data type in C#
A. A method in C#
B. A variable in C#
C. An instance of a class
D. A data type in C#
A. public
B. private
C. protected
D. internal

Join The Discussion