If you do not need to incorporate the MoreLinq library on your task just to get the DistinctBy performance You'll be able to get a similar final result utilizing the overload of Linq's Distinctive technique that usually takes within an IEqualityComparer argument. If It is really not possible with LINQ, https://propertyingurugram.in/builder/conscient-group/