Is it possible to get the distinct elements of a List based on a property of the objects in the List?
Someting like: Distinct(x => x.id)
What’s not usefull for me is following: .Select(x => x.id).Distinct() because then I would get back a List<int> instead of List<MyClass>
You need DistinctBy. It’s not part of the standard .NET libraries, but Jon Skeet made an implementation of it for Linq to objects here. It’s also included in morelinq.