private void InitList(bool next) { for (int i = 0; more && i < ordered.Count; i++) { SpansCell cell = ordered[i]; if (next) { more = cell.MoveNext(); // move to first entry } if (more) { AddToList(cell); // add to list } } }