1.

Wrong statement about enum used in C#.NET is?(a) An enum can be declared inside a class(b) An object cannot be assigned to an enum variable(c) An enum can be declared outside a class(d) An enum can have Single and Double valuesThe question was posed to me during an interview.My question is from Enumerations topic in division Object Oriented Concepts of C#

Answer»

Correct OPTION is (d) An enum can have SINGLE and Double values

For explanation: NONE.



Discussion

No Comment Found

Related InterviewSolutions