public bool Contains(T item) { if (item == null) { for (int j = 0; j < this._size; j++) { if (this._items[j] == null) { return(true); } } return(false); } EqualityComparer <T> comparer = EqualityComparer <T> .Default; for (int i = 0; i < this._size; i++) { if (comparer.Equals(this._items[i], item)) { return(true); } } return(false); }
public ConcealableDictionary(IDictionary <TKey, TValue> dictionary, EqualityComparer <TKey> comparer) : base(dictionary, comparer) { }
public ConcealableDictionary(int capacity, EqualityComparer <TKey> comparer) : base(capacity, comparer) { }