If you don't need so as to add the MoreLinq library in your task just to get the DistinctBy functionality then you can get exactly the same end result utilizing the overload of Linq's Distinct approach that usually takes within an IEqualityComparer argument. If It is not possible with LINQ, https://propertyingurugram.in/upscale-amenities-prime-location-position-gurugram-as-an-ideal-choice-for-luxury-home-buyers-ravish-kapoor/