Say I have an object that stores a byte array and I want to be able to efficiently generate a hashcode for it. I\'ve used the cryptographic hash functions for this in the pa
RuntimeHelpers.GetHashCode might help:
From Msdn: Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures such as a hash table.
From Msdn:
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures such as a hash table.