Table of Contents

Interface IEnumerable

Namespace
System.Collections
Assembly
mscorlib.dll

Exposes an enumerator, which supports a simple iteration over a non-generic collection.

public interface IEnumerable
Extension Methods

Methods

GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerator GetEnumerator()

Returns

IEnumerator

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