Supports a simple iteration over a generic collection.
The IEnumerator<T> type exposes the following members.
|Dispose||Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)|
|MoveNext||Advances the enumerator to the next element of the collection. (Inherited from IEnumerator.)|
|Reset||Sets the enumerator to its initial position, which is before the first element in the collection. (Inherited from IEnumerator.)|