GetEnumerator Method

Task Parallel System.Threading

Returns an enumerator that iterates through the sequence.

Namespace:  System.Linq
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Overridable Function GetEnumerator As IEnumerator(Of TSource)
C#
public virtual IEnumerator<TSource> GetEnumerator()

Return Value

An enumerator that iterates through the sequence.

See Also