Hi all,
Just a general question about an IList. I posted this around the web, but actually with Telerik Forums I'm almost certain I'll get an anwer! :)
I want to remove some duplicates from an IList, but I'm not sure how to do it?
I've a List<Contact> which contains three fields: a name and an emailaddress and a type.
So I use it like this:
What I want is to remove or mark records which have the same emailaddress.
How can I do such thing within a generic list?
Thanks!
Daniel
Just a general question about an IList. I posted this around the web, but actually with Telerik Forums I'm almost certain I'll get an anwer! :)
I want to remove some duplicates from an IList, but I'm not sure how to do it?
I've a List<Contact> which contains three fields: a name and an emailaddress and a type.
So I use it like this:
contactList.Add(
new
Contact(item.Name, item.Email,
"GMAIL"
));
What I want is to remove or mark records which have the same emailaddress.
How can I do such thing within a generic list?
Thanks!
Daniel