karakav
asked on
.NET,C#:List<T> contains for lookup custom objects
Does any one know how I can take advantage of the Contains() method of a generic List class to look up whether my collection of custom objects contains a specific element?
This method will return true(bool) if specified element is available in list , False otherwise
ASKER
Yeah, I know that. My question is that the Contains methods does not know how to compare my custom objects.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.