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 the advantage of dependency injection?
What is continue in c#?
Can you use all access modifiers for all types?
What is unmannaged code and will CLR handle this kind of code or not .
Explain About web methods and its various attributes
How many variables do you need?
Is c# an open source language?
What is icollection in c#?
What are the problem with .NET generics?
How can it prevents DLL Hell assembly versioning in .NET?
How does it work?
What are the three types of operators?
Explain what is copy constructor?
What Is An Interface Class?
What is the use of regex in c#?