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