IEnumerable(T) Interface
.NET Framework Class Library
IEnumerable<(Of <(T>)>) 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)
Visual Basic (Declaration)
Public Interface IEnumerable(Of T) _
    Inherits IEnumerable
Visual Basic (Usage)
Dim instance As IEnumerable(Of T)
C#
public interface IEnumerable<T> : IEnumerable
Visual C++
generic<typename T>
public interface class IEnumerable : IEnumerable
JScript
JScript does not support generic types or methods.

Type Parameters

T

The type of objects to enumerate.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0

XNA Framework

Supported in: 3.0, 2.0, 1.0
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
IEnumerable<T> usage and API guidelines      David M. Kean - MSFT   |   Edit   |   Show History

For usage and API guidelines in addition to those already found in the Framework Design Guidelines, see:

http://davesbox.com/archive/2008/12/13/array-collection-ienumerable-lt-t-gt-usage-guidelines.aspx

a link to linq      Zim Chan   |   Edit   |   Show History
I am mildly surprised there is no mention or link to the LINQ extension methods here.

http://msdn.microsoft.com/en-us/library/system.linq.enumerable_members.aspx

Flag as ContentBug
Re: a link to linq      Adam Cataldo   |   Edit   |   Show History
I thought I would find them here as well, or at least a link to them. They live in the Enumerable class, which can be found at:

http://msdn.microsoft.com/en-us/library/system.linq.enumerable.aspx
Tags What's this?: Add a tag
Flag as ContentBug
Processing
Page view tracker