public bool MoveNext() { hasMovedNext = true; hasItem = enumerator.MoveNext(); if (hasItem) index++; return hasItem; }