If you don't want to include the MoreLinq library in your project just to obtain the DistinctBy operation Then you can certainly get the same final result utilizing the overload of Linq's Distinct strategy that usually takes in an IEqualityComparer argument. I was beating my head on this for rather https://propertyingurugram.in/ganga-realty-to-invest-rs-400-cr-in-high-street-retail-project-in-sohna-gurugram/