If you don't need to add the MoreLinq library in your task just to obtain the DistinctBy operation You'll be able to get the identical final result using the overload of Linq's Unique process that will take in an IEqualityComparer argument. I discovered this problem when refactoring a function to https://propertyingurugram.in/commercial/ganga-realty-swarnim-35-sector-35-sohna/