here's another quirk in .net 4.0 i found:
When i want to check if a variable, which holds a System.Drawing.Brush
, holds a certain Brush, like:
using System.Drawing;
HisCell.Col == Brushes.White
it sometimes fails, despite the fact I assigned Brushes.White
to HisCell.Col
earlier.
How do i work around this bug?