interface IEnumerator<T>

in global :: System . Collections . Generic

Supports a simple iteration over a generic collection.

  • T The type of objects to enumerate.

public T Current { get; }

Gets the element in the collection at the current position of the enumerator.

  • Returns The element in the collection at the current position of the enumerator.