Export (0) Print
Expand All

Collection<T>.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<T>) Returns distinct elements from a sequence by using a specified IEqualityComparer<T> to compare values. (Defined by Enumerable.)
Top

The result sequence is unordered.

Community Additions

ADD
Show:
© 2014 Microsoft