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 is Web.config?
What is yield break in c#?
What is difference between private and protected in c#?
Can we overload the main method in c#?
Is goto statement supported in c#?
What do you mean by for each loop?
What is form feed in c#?
Does constructor return any value in c#?
What benefit do you get from using a primary interop assembly (pia)?
Are multiple data types stored in System.Array?
Can you drink alcohol with a loop recorder?
What is the file extension for c#?
What is sql transaction in c#?
Explain states of a thread in c#?
Is array a collection c#?