If you don't want to add the MoreLinq library for your challenge just to have the DistinctBy functionality Then you can certainly get the exact same end result using the overload of Linq's Distinct process that will take in an IEqualityComparer argument. 1 Also see this related query and its https://propertyingurugram.in/new-isbt-to-come-up-on-15-acres-off-dwarka-expressway/