public IEnumerator GetEnumerator() { for (int i = 0; i < this.array.Length; i++) { if (this.array.Get(i) == true) { yield return i; } } }