Problem with generic collections
Problem with Generic.Dictionary and Generic.SortedDictionary.
ContainsValue function of both of these classes work with usuall datatypes. But when you make a collection of the objects of a class that you have defined yourself it doesnt work.
I know that it requires you to implement IComparable which i have done. And this implementation works fine for the other function - Sort- that demands.
Please help.
Apologies for posting this query more than once. But i'm just making sure that it gets attention of people in all the relevant forums.
|