If you don't want so as to add the MoreLinq library towards your challenge just to obtain the DistinctBy features then you can get the identical final result utilizing the overload of Linq's Distinct approach that requires in an IEqualityComparer argument. I found this situation when refactoring a perform to https://propertyingurugram.in/south-gurugram-fast-emerging-as-a-preferred-destination-for-luxury-housing/