This documentation is archived and is not being maintained.

SortedList<TKey, TValue>.Distinct Method

Visual Studio 2008

Returns distinct elements from a sequence.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public Extension Method Distinct() Returns distinct elements from a sequence by using the default equality comparer to compare values. (Defined by Enumerable.)
Public Extension Method Distinct(IEqualityComparer<KeyValuePair<TKey, TValue>>) Returns distinct elements from a sequence by using a specified IEqualityComparer<T> to compare values. (Defined by Enumerable.)
Top

The result sequence is unordered.

Show: