If you don't want to include the MoreLinq library to your task just to get the DistinctBy performance then you can get the identical final result using the overload of Linq's Unique system that can take in an IEqualityComparer argument. I came upon this issue when refactoring a function to https://propertyingurugram.in/housing-prices-surges-5x-in-14-years-at-dwarka-expressway-propequity/