Answer Posted / jagwinder singh
An Enumeration is a set of named integer constants. The keyword enum declares an enumerated type.
Here is example:
enum Apple { Jonathan,Goldendel, reddel,winesap}
by default jonathan has value 0,goldendel=1 and so on
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are collection classes?
What is expression tree in c#?
what is c# command?
Can we make a Static Constructor Parameterized? Give Reason with your answer
How to find the current application file path while runtime?
In which format you can pass the value in the sleep function?
How many digits are in an integer?
What is a float?
How do you comment in c#?
Explain code compilation in c#.
Describe two uses of the “using” statement during the operation of c#?
Explain more on CLR
What is the use of ienumerable in c#?
How do I make a dll in c#?
What does type safety mean?