.NET Color Struct Equality
By Eric
—
When is white not white? When one is Color.White and the other is
Color.FromArgb(0xff, 0xff, 0xff, 0xff).
I was trying to data bind a list of colors to a ComboBox and
have the SelectedValue property bound to a particular color. The
frustrating thing was that even though …