Click or drag to resize

MoreEnumerable.ToDictionary Method

Overload List
  NameDescription
Public methodStatic memberToDictionary<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValue>>)
Public methodStatic memberToDictionary<TKey, TValue>(IEnumerable<ValueTuple<TKey, TValue>>)
Public methodStatic memberToDictionary<TKey, TValue>(IEnumerable<KeyValuePair<TKey, TValue>>, IEqualityComparer<TKey>)
Public methodStatic memberToDictionary<TKey, TValue>(IEnumerable<ValueTuple<TKey, TValue>>, IEqualityComparer<TKey>)
Creates a Dictionary< TKey, TValue> from a sequence of tuples of 2 where the first item is the key and the second the value. An additional parameter specifies a comparer for keys.
Top
See Also