Skip to content

Overload_CodeJam_Collections_EnumerableExtensions_ToDictionary

Andrew Koryavchenko edited this page Jun 17, 2018 · 1 revision

EnumerableExtensions.ToDictionary Method

Overload List

 

Name Description
Public methodStatic member ToDictionary(T, TKey)(IEnumerable(T), Func(T, TKey), DictionaryDuplicate) Creates a Dictionary(TKey, TValue) from an IEnumerable(T) according to a specified key selector function and a duplicate handling policy.
Public methodStatic member ToDictionary(T, TKey)(IEnumerable(T), Func(T, TKey), IEqualityComparer(TKey), DictionaryDuplicate) Creates a Dictionary(TKey, TValue) from an IEnumerable(T) according to a specified key selector function, a comparer and a duplicate handling policy.
Public methodStatic member ToDictionary(T, TKey, TElement)(IEnumerable(T), Func(T, TKey), Func(T, TElement), DictionaryDuplicate) Creates a Dictionary(TKey, TValue) from an IEnumerable(T) according to a specified key selector function, an element selector function and a duplicate handling policy.
Public methodStatic member ToDictionary(T, TKey, TElement)(IEnumerable(T), Func(T, TKey), Func(T, TElement), IEqualityComparer(TKey), DictionaryDuplicate) Creates a Dictionary(TKey, TValue) from an IEnumerable(T) according to a specified key selector function, an element selector function, a comparer and a duplicate handling policy.
  Back to Top

See Also

Reference

EnumerableExtensions Class
CodeJam.Collections Namespace

Clone this wiki locally