If you don't want to include the MoreLinq library for your task just to get the DistinctBy operation You'll be able to get the exact same end result using the overload of Linq's Distinctive method that normally takes in an IEqualityComparer argument. one Also see this identical concern and its https://propertyingurugram.in/gurgaon-real-estate-alert-now-buyers-have-to-spend-more-for-gurugram-properties-here-is-why/