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