If you don't want so as to add the MoreLinq library for your undertaking just to have the DistinctBy performance You'll be able to get the identical final result using the overload of Linq's Unique technique that takes in an IEqualityComparer argument. I was beating my head on this for https://propertyingurugram.in/smart-world-to-invest-rs-30-bn-in-three-housing-projects-in-gurugram/