public void Dispose() { _collection = null; _current = default(T); index = -1; }
// Paramaterized constructor which takes // the collection which this enumerator will enumerate public P21Enumerator(P21Collection <T> collection) { _collection = collection; index = -1; _current = default(T); }