Yesterday I needed to reinstall a Windows font that seemed to be misbehvaing. Over the years I have built up a fair bit of knowledge about Windows, so I thought I knew what to do: Delete the font from Windowsfonts Locate the i386 directory on the install media for Windows (or my local drive if […]
Implementing a simple hashing algorithm
by Rob Levine on 14-Mar-2008
In my last blog article I outlined a gotcha whereby a developer overrides .Equals() without providing a similarly meaningful override to .GetHashCode(). I gave a description, and illustration, of why it is so important to ensure that the same fields are considered for the two methods. In this article I discuss a simple strategy for […]