On 12/8/2014 9:21 AM, Hüning, Christian wrote:
I am using Mono alongside .NET in larger Deployments. Just recently I wanted to use GetHashCode() of the type of an object to start a little algorithm on each node, which needs to produce the same result when the same type’s hashcode (or another equivalent information) is used.
You might want to use 32-bit FNV-1a (http://www.isthe.com/chongo/tech/comp/fnv/index.html) on Type.AssemblyQualifiedName instead of GetHashCode() for this specific purpose.
Kornel
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
