<$BlogRSDURL$>
My Blog Links
Site Links
Currently Reading
Blogroll
Archives
Tools
  • This page is powered by Blogger. Isn't yours?
  • Weblog Commenting and Trackback by HaloScan.com
  • 2RSS.com :: RSS directory
  • Listed on BlogShares
  • Blog Directory, Find A Blog, Submit A Blog, Search For The Best Blogs

Friday, July 09, 2004

.NET: Use of Equality and GetHashCode() 

Here's an interesting post by Brendan Tompkins on the use of the equality operators for your own class types and typed collections. If you're going to check for uniqueness in a collection based on anything other than the instance, then you're have to override the GetHashCode() and operator==, so that you can actually check based upon the instance data in the class.

Comments: Post a Comment