If you do not need so as to add the MoreLinq library for your undertaking just to obtain the DistinctBy performance Then you can certainly get the identical final result using the overload of Linq's Unique strategy that usually takes in an IEqualityComparer argument. 1 Also see this comparable dilemma https://propertyingurugram.in/builder/puri-constructions/