public _Dictionary(_IDictionary <TKey, TValue> dictionary, IEqualityComparer <TKey> comparer) : this(dictionary != null ? dictionary.Count : 0, comparer) { if (dictionary == null) { throw new ArgumentNullException(); } foreach (KeyValuePair <TKey, TValue> pair in dictionary) { Add(pair.Key, pair.Value); } }
public _Dictionary(_IDictionary <TKey, TValue> dictionary) : this(dictionary, null) { }