C# Programming - Enumerations - Discussion
Discussion Forum : Enumerations - General Questions (Q.No. 17)
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.
Discussion:
1 comments Page 1 of 1.
Rajesh said:
8 years ago
I am confused about point number 4. Can anyone explain me?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers