MoreEnumerable.DistinctBy Method |
Name | Description | |
---|---|---|
DistinctBy<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.
| |
DistinctBy<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.
|