What is enumeration in Visual Studio?

Enumerations provide a convenient way to work with sets of related constants and to associate constant values with names . For example, you can declare an enumeration for a set of integer constants associated with the days of the week, and then use the names of the days rather than their integer values in your code.

Leave a Reply

Your email address will not be published. Required fields are marked *