Top "Gethashcode" questions

GetHashCode is method of base Object class of .Net Framework.

Generic IEqualityComparer<T> and GetHashCode

Being somewhat lazy about implementing lots of IEqualityComparers, and given that I couldn't easily edit class implementations of object being …

c# gethashcode
Overriding GetHashCode in VB without checked/unchecked keyword support?

So I'm trying to figure out how to correctly override GetHashCode() in VB for a large number of custom objects. …

vb.net gethashcode
GetHashCode() problem using xor

My understanding is that you're typically supposed to use xor with GetHashCode() to produce an int to identify your data …

c# .net gethashcode
Persistent hashcode for strings

I want to generate an integer hashcode for strings, that will stay constant forever; i.e. the same string should …

c# string hash hashcode gethashcode
GetHashCode() gives different results on different servers?

I declared a C# line of code like so int hashcode = "apple".GetHashCode(); On my computer, a computer at work, …

c# gethashcode