View Single Post
 
Old November 21st, 2005, 11:23 AM
demitry demitry is offline
Registered User
 
Join Date: Nov 2005
Location: , , Russia.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default ContainsValue doesnt work

Problem with Generic.Dictionary and Generic.SortedDictionary.
ContainsValue function of both of these classes works with usual 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 already. And this implementation works fine for the other function - Sort- that demands it.

Please help.