Click or drag to resize

MoreEnumerable.DistinctBy Method

Overload List
  NameDescription
Public methodStatic memberDistinctBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>)
Returns all distinct elements of the given source, where "distinctness" is determined via a projection and the default equality comparer for the projected type.
Public methodStatic memberDistinctBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>, IEqualityComparer<TKey>)
Returns all distinct elements of the given source, where "distinctness" is determined via a projection and the specified comparer for the projected type.
Top
See Also