You are here: Symbol Reference > Stimulsoft.Base.Json.Utilities.LinqBridge Namespace > Enumerable Class > Enumerable Methods > ToDictionary Method > ToDictionary Method (this IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
Enumerable.ToDictionary Method (this IEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)

Creates a Dictionary{TKey,TValue} from an IEnumerable{T} according to specified key selector and element selector functions.

Syntax
C++
C#
Visual Basic
public: Dictionary<TKey, TElement> ToDictionary<TSource, TKey, TElement>( this IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector );
Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.