Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Enumerable Class
Distinct Method
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
.NET Framework Class Library
Enumerable..::.Distinct Method

Updated: November 2007

Returns distinct elements from a sequence.

  NameDescription
Distinct<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>)) Returns distinct elements from a sequence by using the default equality comparer to compare values.
Distinct<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), IEqualityComparer<(Of <(TSource>)>)) Returns distinct elements from a sequence by using a specified IEqualityComparer<(Of <(T>)>) to compare values.
Top

The result sequence is unordered.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker