6
Reply

What is the usage of Enumeration in C# Programming and is it good to use or not ?

Praveen

Praveen

Nov 01, 2015
1.3k
0

    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.

    Khaleek Ahmad
    February 02, 2017
    1

    nice

    Kap Shivhare
    July 17, 2016
    1

    If you have group of constant value then it better to use enums.

    sushil kumar
    June 01, 2016
    0

    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.

    Gayatri Sravya
    May 04, 2016
    0

    http://www.codeproject.com/Articles/18809/Enums-in-C

    kanhu panda
    February 02, 2016
    0

    kindly share your advice?

    Praveen
    November 01, 2015
    0