In C#, an enum (or enumeration type) is used to assign constant names to a group of numeric integer values . It makes constant values more readable, for example, WeekDays. Monday is more readable then number 0 when referring to the day in a week.
In C#, an enum (or enumeration type) is used to assign constant names to a group of numeric integer values . It makes constant values more readable, for example, WeekDays. Monday is more readable then number 0 when referring to the day in a week.