Eric covers another new C# Whidbey (VS 2005) feature

Not a long post (I’ve included it all below), but useful nonetheless


C# Featurette #2 – Inline Warning Control

Another feature that we added for Whidbey is the ability to selectively disable warnings within your code. For example:

#pragma warning disable 135



  // Disable warning CS135 in this block

#pragma warning restore 135

Comments on this feature? Click on the “Featurette” link above and tell Eric what you think!

No comments yet.

Leave a Reply