Otter SDK Reference
Version:

ToSortedList<TSource, TKey, TValue>(System.Collections.Generic.IEnumerable<TSource> source, System.Func<TSource, TKey> keySelector, System.Func<TSource, TValue> valueSelector) Method

Syntax

public static SortedList<TKey, TValue> ToSortedList<TSource, TKey, TValue>(IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TValue> valueSelector)

Parameters

source
Type: System.Collections.Generic.IEnumerable<TSource>
keySelector
Type: System.Func<TSource, TKey>
valueSelector
Type: System.Func<TSource, TValue>