Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > Visual Studio 2005
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 21st, 2005, 11:28 AM
Registered User
Join Date: Nov 2005
Location: , , Russia.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

Reply With Quote
  #2 (permalink)  
Old November 21st, 2005, 05:30 PM
Registered User
Join Date: Nov 2005
Location: , , Russia.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

For others reference, my problem got solved at

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
collections help bennyt BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 July 26th, 2008 01:30 AM
Generic & Dynamic XSLT but small problem..help pulin XSLT 3 April 29th, 2007 05:42 PM
Problem: Developing generic Toolbar in Activex. anup_daware Visual C++ 0 October 4th, 2006 02:50 AM
Problem with generics collections demitry .NET Framework 2.0 4 November 24th, 2005 06:39 AM

All times are GMT -4. The time now is 06:49 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.