One minute
Eric covers another new C# Whidbey (VS 2005) feature
Not a long post (I’ve included it all below), but useful nonetheless
<b> <a id="viewpost.ascx_TitleUrl" href="http://blogs.msdn.com/ericgu/archive/2004/04/12/112032.aspx">C# Featurette #2 – Inline Warning Control</a> </b> 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!
Thoughts on this post? Feel free to reach out on Bluesky!