If you don't want to include the MoreLinq library in your project just to get the DistinctBy performance You'll be able to get exactly the same final result utilizing the overload of Linq's Unique strategy that can take in an IEqualityComparer argument. I found this problem when refactoring a purpose https://propertyingurugram.in/elan-group-signs-ramada-encore-hotel-by-wyndham-with-as-hotels-residences-private-limited-at-elan-miracle-mall-sector-84/