Enumeration is a value data type, which means that enumeration contains its own values and cannot inherit or pass inheritance. Enumerator allows you to assign symbolic names or integral constants.
An enumerator is a class that provides a means to loop over information stored in another class.
So take for example an array. An enumerator is a class, seperate from the array, that provides methods to loop over the array. It usually contains an internal pointer to a ‘current’ value and has a method like MoveNext. The reason why it is kept seperate is the enumerator could be useful on different collections, even if the structure of the collections are completely different from each other. Rather than rewrite for each collection different looping algorithms a single enumerator can be used on both collections.
It’s like a common pattern for looping over things regardless of the data shape of the things being looped.
An enumeration is a data type consisting of a set of named values that represent integral constants, known as enumeration constants. An enumeration also referred to as an enumerated type because you must list (enumerate) each of the values in creating a name for each of them.
SUGANYA.J.S
To count off or name one by one; list.To determine the number of; count.
palak jain
Enumeration is a value data type, which means that enumeration contains its own values and cannot inherit or pass inheritance. Enumerator allows you to assign symbolic names or integral constants.
An enumerator is a class that provides a means to loop over information stored in another class.
So take for example an array. An enumerator is a class, seperate from the array, that provides methods to loop over the array. It usually contains an internal pointer to a ‘current’ value and has a method like MoveNext. The reason why it is kept seperate is the enumerator could be useful on different collections, even if the structure of the collections are completely different from each other. Rather than rewrite for each collection different looping algorithms a single enumerator can be used on both collections.
It’s like a common pattern for looping over things regardless of the data shape of the things being looped.
May be census taker
RANJIT VARADARAJAN
An enumeration is a data type consisting of a set of named values that represent integral constants, known as enumeration constants. An enumeration also referred to as an enumerated type because you must list (enumerate) each of the values in creating a name for each of them.