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 does firstordefault mean in c#?
How does bubble sort work?
What is the diff between System.String and System.Text.StringBuilder classes?
Write a syntax for writing a event delegate.
List down the differences between “dispose” and “finalize” methods in c#.
What is bit in c#?
What is generic and non generic collections in c#?
What is lambda expression in c#?
What is anonymous types in c#?
What is cshtml?
What is the solution if you need to manipulate sets of items?
Explain copy constructor?
write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5
What is the difference between console application and windows application?
Is stringbuilder thread safe c#?