Information Technology Reference
In-Depth Information
using System.Collections;
using System.Collections.Generic;
class MyGenEnumerator: IEnumerator< T >
{
public T Current { get; } // IEnumerator<T>--Current
Explicit implementation
object IEnumerator.Current { get { ... } } // IEnumerator--Current
public bool MoveNext() { ... } // IEnumerator--MoveNext
public void Reset() { ... } // IEnumerator--Reset
public void Dispose() { ... } // IDisposable--Dispose
...
}
Search WWH ::




Custom Search