Click or drag to resize
IEnumerableT Interface
Exposes the enumerator, which supports a simple iteration over a collection of a specified type.

Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public interface IEnumerable<out T> : IEnumerable

Type Parameters

T
The type of objects to enumerate.This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.

The IEnumerableT type exposes the following members.

Methods
  NameDescription
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Top
See Also