public IEnumerator GetEnumerator() { foreach (Run r in this.runArray) { for (int i = r.StartIndex; i < r.EndIndex +1; i++) { yield return i; } } }