This interface exposes an enumerator to iterate over a collection. The GetEnumerator( ) method returns an IEnumerator for the object.
public interface IEnumerable { // Public Instance Methods public IEnumerator GetEnumerator( ); }
Multiple types