If you do not need to include the MoreLinq library to your task just to get the DistinctBy performance Then you can certainly get the identical final result utilizing the overload of Linq's Distinct approach that will take in an IEqualityComparer argument. I was beating my head on this for https://propertyingurugram.in/massive-2-7-lakh-sq-ft-high-street-retail-project-set-to-transform-sohnas-shopping-landscape/