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
Define xslt.
What are synchronous and asynchronous operations?
What is a method signature c#?
Is c# good for games?
Why static constructor is parameterless in c#?
What is difference between internal and protected internal in c#?
What is the size of a decimal?
Why do we need events in c#?
What is the difference between mobile application and desktop application?
What is difference between array and collection in c#?
Can namespace contain the private class?
Is null c# operator?
Why do we need indexer in c#?
What is the namespace for datatable in c#?
What is the difference between IEnumerator and IEnumerable?