If you don't want to add the MoreLinq library on your project just to have the DistinctBy features Then you can certainly get the exact same end result utilizing the overload of Linq's Distinctive strategy that can take in an IEqualityComparer argument. Take a look at the benefits and pitfalls https://propertyingurugram.in/gurugram-emerging-as-expats-favourite-realty-destination/