Click or drag to resize

OrderedDictionary<TKey, TValue> Constructor

Overload List
  Name Description
Public method OrderedDictionary<TKey, TValue> () Initializes a new instance of the OrderedDictionary<TKey, TValue> class that is empty, has the default initial capacity, and uses the default equality comparer for the key type.
Public method OrderedDictionary<TKey, TValue> (IEnumerable<KeyValuePair<TKey, TValue> > ) Initializes a new instance of the OrderedDictionary<TKey, TValue> class that contains elements copied from the specified [!:IEnumerable<KeyValuePair<TKey, TValue>>] and uses the default equality comparer for the key type.
Public method OrderedDictionary<TKey, TValue> (IEqualityComparer<TKey> ) Initializes a new instance of the OrderedDictionary<TKey, TValue> class that is empty, has the default initial capacity, and uses the specified IEqualityComparer<T>.
Public method OrderedDictionary<TKey, TValue> (Int32) Initializes a new instance of the OrderedDictionary<TKey, TValue> class that is empty, has the specified initial capacity, and uses the default equality comparer for the key type.
Public method OrderedDictionary<TKey, TValue> (IEnumerable<KeyValuePair<TKey, TValue> > , IEqualityComparer<TKey> ) Initializes a new instance of the OrderedDictionary<TKey, TValue> class that contains elements copied from the specified [!:IEnumerable<KeyValuePair<TKey, TValue>>] and uses the specified IEqualityComparer<T>.
Public method OrderedDictionary<TKey, TValue> (Int32, IEqualityComparer<TKey> ) Initializes a new instance of the OrderedDictionary<TKey, TValue> class that is empty, has the specified initial capacity, and uses the specified IEqualityComparer<T>.
Top
See Also