The Items collection in a Windows Forms ComboBox control is eminently flexible, letting you store any object you desire for later selection and display. But I often find myself storing just the ...
Overriding the Object.Equals and Object.GetHashCode methods to provide value equality needs a lot boilerplate code. This article shows an approach that creates this code automatically. It uses ...
I've got two lists of file meta data (fsFileList and zfFileList) that I need to find the files that are in one list, not the other. Seems simple enough? Well, the issue comes in the fact that one list ...
In System.Diagnostics.ActivityLink, the GetHashCode() method adds the keys and values of ActivityLink.Tags to the hash code. This enumeration is however unnecessary because the Equals(object) and ...