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>)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
Enumerable.ToDictionary Method (this IEnumerable<TSource>, Func<TSource, TKey>)

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

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