.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)
Syntax

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.

Platforms

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.
Version Information

.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
See Also

Reference

Tags :


Community Content

David M. Kean - MSFT
IEnumerable usage and API guidelines

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


Zim Chan
a link to linq
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


Adam Cataldo
Re: a link to linq
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 :

Page view tracker