OK, thanks. To be clear, I'm rapidly warming to both C# and .NET.
I just wanted to know why I wasn't seeing the warning. Seems a simple
question to me. Maybe there was some advanced setting in the IDE I could
change that would magically show it. Maybe someone could have said, "Hey,
thats a bug in VS 2005. Unfortunately Microsoft have declined to fix it.
There is FxCop v1.36 you could look at. It is fixed in later versions of the
IDE, but sorry I can't help more."
It turns out I was wrong - there isn't a setting I can turn on to show me
the warning. Its a plain 'ol common garden-variety bug in VS 2005. I was
also wrong about the simple answer. Sometimes a simple question doesn't get
a simple or friendly answer. Hey, maybe I even deserve to get my virtual ear
chewed, though in hindsight it seems unfair when I did report the bug
correctly [see post from Jeff Johnson]. Oh well, thats life.
Getting to quite like C# now. I just wrote my first delegate function and it
works nicely. But it is true that there are some niggles with VS 2005 that
are annoying. But hey, thats life too. I found VS 2003.NET particularly easy
to use coming from VS 6 for many years. The move from VS2003.NET to VS 2005
has not been as easy. I'd bet my house that neither VS 2008 or 2010 are
niggle or bug free. I'm sure they boast some great features (and bugfixes)
and I am looking forward to using them when the time comes...but for the
time being I'm stuck with VS 2005 and my Windows CE 5.0, CF v2.0 device and
I am not in a position to upgrade in the immediate future, no matter how
many tell me to dump my obsolete tool and get with the times.
For some developers working, say, on consumer or web applications only, its
just "get more memory here, upgrade this, upgrade that, get bigger hard disk
there". They forget that there are millions of users out there on older OSes
and older harware. They also forget that there are many thousands of real
programmers out there working on dedicated, single purpose devices that are
high value, low volume (I work in the medical devices and food inspection
fields). For us, upgrading is usually not an easy option,and will come at
considerable engineering / regulatory / engineering / training / and other
expense.
And there are those of us, who need a bit more justification for upgrading
than "its the latest". If you compare Word 97 to Word 2007, for example,
Word 97 beats Word 2007 hands down on performance. Having used both, frankly
the functionality that comes with 2007 just isn't of interest. My wife is a
professional author who uses Word 2007 every day. In her opinion, there is
only one feature where Word 2007 motivates her to use it in preference to
Word 97 or Word 2000, and thats improvements to the Track Changes
functionality. And if you're not too fussed or found the Track Changes
feature adequate in the previous versions, why would you upgrade? Seems to
me you'd be silly to. More money, slower program, new layout and features to
learn, etc. No brainer.
I say hats off to Microsoft for keeping Win32 alive and kicking to allow
older hardware and software to continue working, even well past their
official obsolescense dates.
Alain