What is the usage of Enumeration in C# Programming and is it good to use or not ?
Praveen
Enumeration used for giving a more meaningful name to some constant. Like if you have three action named Add,Remove,Update than you can create an enum enum Mode { Add, Update, Remove }It is good to use enumeration because it improves readability.
nice
If you have group of constant value then it better to use enums.
It is a feature to group a set of constants.Yes, it is good to use and it ->improves readability -> provides default values to enum members.
http://www.codeproject.com/Articles/18809/Enums-in-C
kindly share your advice?