Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Dictionary<TKey, TValue>.Distinct Method

.NET Framework 3.5

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.