Type of elements within source.
Type of key returned by keySelector.
Type of value returned by valueSelector.
The source iterable.
Selector used to derive the key for each element.
Selector used to derive the value for each element.
OptionalkeyComparator: OrderComparator<TKey, TKey>Optional order comparator used to sort keys in the resulting dictionary.
OptionalvalueComparator: EqualityComparator<TValue, TValue>Optional equality comparator used to compare values in the resulting dictionary.
A sorted dictionary populated with the projected key/value pairs.
Thrown when keySelector produces duplicate keys.
Materialises source into a sorted dictionary keyed by the provided selector.