public bool MoveNext() { if (StayHere == true) { StayHere = false; return(head != null); } current = current.next; if (current == null) { return(false); } return(true); }
public void Reset() { current = head; StayHere = true; }
public GenListIterator(GenListContainer <T> .Node <T> head) { current = head; this.head = head; }