Supports a simple iteration over a generic collection.
IEnumerator<T> = interface(IEnumerator)
The IEnumerator<T> type exposes the following members.
Gets the current element in the collection.
Represents method GetCurrent.
Advances the enumerator to the next element of the collection. (Inherited from IEnumerator.)
Sets the enumerator to its initial position, which is before the first element in the collection. (Inherited from IEnumerator.)