|
-
September 24th, 2010, 04:37 AM
#4
Re: [RESOLVED] Dictionary Generic Class, Key.Value = count # of Class
You could also do it by overriding GetHashCode and Equals on your class. These are the methods the dictionary uses to check if two classes are supposed to be the same.
www.monotorrent.com For all your .NET bittorrent needs
NOTE: My code snippets are just snippets. They demonstrate an idea which can be adapted by you to solve your problem. They are not 100% complete and fully functional solutions equipped with error handling.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|