Skip to main content Skip to complementary content

IEnumerable.GetEnumerator Method

Overloads

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Declaration

      IEnumerator IEnumerable.GetEnumerator()
    

Returns

Type Description
System.Collections.IEnumerator

An System.Collections.IEnumerator object that can be used to iterate through the collection.

Implements

System.Collections.IEnumerable.GetEnumerator()

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!