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