What is enumeration explain?

Definition of enumeration 1 : the act or process of making or stating a list of things one after another the rebel leader’s effective enumeration of popular grievances also : the list itself The restaurant creates an astonishing range of preserved products …

Read more

What is enumeration used for?

Enumerations offer an easy way to work with sets of related constants. An enumeration, or Enum , is a symbolic name for a set of values. Enumerations are treated as data types, and you can use them to create sets of constants for use with variables and properties .

Read more

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.

Read more