Method GetEnumerator GetEnumerator() Returns an enumerator that iterates through the list. Declaration public List<T>.Enumerator GetEnumerator() Returns Type Description List<T>.Enumerator The enumerator.