Distinct
Returns a collection that contains no duplicate entries according to comparer
and hashCodeGetter
functions.
If an element occurs multiple times in the collection then the later occurrences are discarded.
Internally this method uses a EqualityComparerBuilder<T>
object.
Parameter | Returns |
Func<T, T, bool> comparer Func<T, int> hashCodeGetter IEnumerable<T> source | int |
Usage
Discarding duplicate entries
Last updated