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 the concept of strong names?
What is boolean method?
What are get and set in c#?
Explain the difference between the debug class and trace class?
What is difference between c sharp and c#?
Is xamarin free?
What are types of constructor?
Why do we use anonymous method in c#?
Explain copy constructor?
Explain what is an interface in c#?
How do you inherit a class into other class in c#?
How many types of serialization are there in c#?
What is dll in vb.net?
What is serialization in c#?
What do you mean by sealed classes and static classes?