IEnumerable and IEnumerator are defined as follows: public interface IEnumerator : IEnumerator, IDisposable{ T Current { get; }}public interface IEnumerable : IEnumerable{ IEnumerator GetEnumerator();}