If you do not need so as to add the MoreLinq library for your challenge just to find the DistinctBy performance You'll be able to get the same final result utilizing the overload of Linq's Distinct process that will take within an IEqualityComparer argument. I found this concern when refactoring https://propertyingurugram.in/more-hnis-are-looking-to-buy-luxury-property-in-2022/