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 entity framework c#?
What do you use c# for?
Are classes passed by reference in c#?
What are the benefits of using the aggregate method in linq?
Explain what is the smallest unit of execution in .net?
2. What happened when BO object has been called?
Expalin the way you implement inheritance by using VB.NET/C#?
Can non-default constructors be used with single call sao?
If a child class instance is created, which class constructor is called first - base class or child class?
Can we extend static class in c#?
What is difference between float and integer?
Define satellite Assembly?
What is method and function in c#?
What are satellite assemblies? How will you get the different language strings?
Give an example of a directcast.