Answer Posted / pijush
The enum keyword is used to declare an enumeration, a
distinct type consisting of a set of named constants called
the enumerator list. Every enumeration type has an
underlying type, which can be any integral type except
char. The default underlying type of the enumeration
elements is int. By default, the first enumerator has the
value 0, and the value of each successive enumerator is
increased by 1. For example:
| Is This Answer Correct ? | 23 Yes | 2 No |
Post New Answer View All Answers
What is a Assembly?
What are Regex / regular expressions ?
What is callback delegate in c#?
What are winforms in c#?
What is delegate in c# interview questions?
What is object pool in .net?
Explain about generics in c#.net?
List some Advantages of switch-case over if else?
Explain publishers and subscribers in events.
What is the default value of datetime in c#?
When Should You Call The Garbage Collector In .net?
Can you explicitly call a destructor?
What is uint16?
How long does a loop recorder procedure take?
What is oledb in c#?