Question:
What is an enumerator?
Answer:
Enumeration is a value data type, which means that enumeration contains its own values and cannot inherit or pass inheritance. Enumerator allows you to assign symbolic names or integral constants. Source: CoolInterview.com
Simplest way to identify things,
enum DaysOfWeek { Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday } Source: CoolInterview.com
Answered by: Vishal Sharma | Date: 6/19/2010
| Contact Vishal Sharma
enumeration is a great user defined user type in C#.net and vb.net. It is very useful in code readability Source: CoolInterview.com
Answered by: prabhu | Date: 7/3/2010
| Contact prabhu
enum is the name with number.that is constant
Regards, Nicku Source: CoolInterview.com
Answered by: nicku | Date: 8/16/2010
| Contact nicku
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|