SortedDictionary<'TKey, 'TValue> Constructor
Initializes a new instance of the SortedDictionary<'TKey, 'TValue> class.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | 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. |
![]() | 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. |
![]() | 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. |
![]() | 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. |
