If you do not need to add the MoreLinq library on your undertaking just to find the DistinctBy performance You'll be able to get the identical final result using the overload of Linq's Distinct method that takes within an IEqualityComparer argument. I came upon this problem when refactoring a functionality https://propertyingurugram.in/dwarka-expressway-the-next-commercial-hub-for-investors/