If you don't want so as to add the MoreLinq library to your venture just to obtain the DistinctBy operation then you can get precisely the same end result using the overload of Linq's Unique process that normally takes in an IEqualityComparer argument. I stumbled on this problem when refactoring https://propertyingurugram.in/real-estate-developer-m3m-has-repaid-rs-500-crore-debt-since-lockdown/