Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C# Programming
»
Enumerations
Which of the following statements is true about an enum used in C#.NET?
An implicit cast is needed to convert from enum type to an integral type.
An enum variable cannot have a public access modifier.
An enum variable cannot have a private access modifier.
An enum variable can be defined inside a class or a namespace.
An enum variable cannot have a protected access modifier.
Show Answer
Correct Answer:
An enum variable can be defined inside a class or a namespace.
← Previous
Next →
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment