System.Collections.Generic.IEnumerable<T>

Exposes the enumerator, which supports a simple iteration over a collection of a specified type.

See Also: IEnumerable<T> Members

Syntax

public interface IEnumerable<T> : IEnumerable

Type Parameters

T
Documentation for this section has not yet been entered.

Remarks

Many interfaces and classes in the System.Collections.Generic namespace inherit the IEnumerable`1 interface to implement enumerators. For an example, see the ICollection`1 interface.

For a sample that demonstrates implementing the IEnumerable`1 interface, see tp://code.msdn.microsoft.com/Generics-Sample-C-9b41a192/sourcecode?fileId=46476&pathId=1364935593.

Requirements

Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0