Method FindDuplicatesBy
FindDuplicatesBy<TSource, TKey>(IEnumerable<TSource>, Func<TSource, TKey>)
Declaration
public static IEnumerable<TSource> FindDuplicatesBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<TSource> | source | |
Func<TSource, TKey> | keySelector |
Returns
Type | Description |
---|---|
IEnumerable<TSource> |
Type Parameters
Name | Description |
---|---|
TSource | |
TKey |