I have a List of objects in C#. All of the objects contain a property ID. There are several objects that have the same ID property.
How can I trim the List (or make a new List) where there is only one object per ID property?
[Any additional duplicates are dropped out of the List]
See Question&Answers more detail:os