public interface IEnumerable<T>: IEnumerable
This type implements IEnumerable.
mscorlib
BCL
Implemented by generic classes that support a simple iteration over instances of the collection.
[Note: IEnumerable<T> contains the System.Collections.Generic.IEnumerable<T>.GetEnumerator method. The consumer of an object should call this method to obtain an enumerator for simple iteration over an instance of a collection. Implement this interface to support the foreach semantics of C#.]
System.Collections.Generic Namespace
IEnumerable<T> Methods
IEnumerator<T> GetEnumerator()
Returns a IEnumerator<T> that can be used for simple iteration over a collection.
A IEnumerator<T> that can be used for simple iteration over a collection.
[Behaviors: As described above.]
[Usage: For a detailed description regarding the use of an enumerator, see IEnumerator<T>.]
System.Collections.Generic.IEnumerable<T> Interface, System.Collections.Generic Namespace