Suppose you have a list of MyObject like this:
public class MyObject
{
public int ObjectID {get;set;}
public string Prop1 {get;set;}
}
How do you remove duplicates from a list where there could be multiple instance of objects with the same ObjectID.
Thanks.
See Question&Answers more detail:os