public bool MoveNext() { int size = _rgc.Count; if (_curindex >= size) return false; _curindex++; return(_curindex < size); }