Click or drag to resize

CompareByFieldKeyGetHashCode32 Method

Microsoft messed up the 64 bit version of GetHashCode. Use this original 32-bit version to get consistent String hash codes across 32 bit and 64 bit builds. See remarks in

Namespace:  VelocityDb.Collection.Comparer
Assembly:  VelocityDb (in VelocityDb.dll) Version: (11.1)
public static int GetHashCode32(
	string s


Type: SystemString
String to compute hash code for.

Return Value

Type: Int32
A 32-bit hash code
See Also