Export (0) Print
Expand All

SortedDictionary<TKey, TValue> Constructor

Initializes a new instance of the SortedDictionary<TKey, TValue> class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method SortedDictionary<TKey, TValue>() Initializes a new instance of the SortedDictionary<TKey, TValue> class that is empty and uses the default IComparer<T> implementation for the key type.
Public method SortedDictionary<TKey, TValue>(IComparer<TKey>) Initializes a new instance of the SortedDictionary<TKey, TValue> class that is empty and uses the specified IComparer<T> implementation to compare keys.
Public method SortedDictionary<TKey, TValue>(IDictionary<TKey, TValue>) Initializes a new instance of the SortedDictionary<TKey, TValue> class that contains elements copied from the specified IDictionary<TKey, TValue> and uses the default IComparer<T> implementation for the key type.
Public method SortedDictionary<TKey, TValue>(IDictionary<TKey, TValue>, IComparer<TKey>) Initializes a new instance of the SortedDictionary<TKey, TValue> class that contains elements copied from the specified IDictionary<TKey, TValue> and uses the specified IComparer<T> implementation to compare keys.
Top

Community Additions

ADD
Show:
© 2014 Microsoft