public int IndexOf(Cell cell) { for (int i=0; i<this.Count; i++) { if (this[i] == cell) { return i; } } return -1; }