Hashcode in C#

Posted: June 3, 2010 in C#

Read about Hashcode here

From my colleagues, I found that – .net framework does not guarantee same hash function between different versions, this includes the different versions in place on 32 bit and 64 bit systems. Not only does it not guarantee that it will be the same, but it is quite different. For consistent hash codes, you cannot use the framework hash code function, so you have create a managed implementation of the 32/64 bit .net string hash function.

I will update here more when I come across more specific scenarios


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s