If you do not need to add the MoreLinq library in your challenge just to get the DistinctBy functionality then you can get the exact same final result utilizing the overload of Linq's Distinctive process that requires in an IEqualityComparer argument. I came across this problem when refactoring a operate https://propertyingurugram.in/enjoy-live-band-food-and-shopping-fair-at-aipl-joy-street-gurgaon-this-weekend/