return an enumerator of the elements in the sequence

C# | Visual Basic | Visual C++ |
public IEnumerator<T> GetEnumerator()
Public Function GetEnumerator As IEnumerator(Of T)
public: virtual IEnumerator<T>^ GetEnumerator() sealed

an enumerator of the elements in the sequence