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!
2004-04-13 10:54 +0000
e06898f @ 2019-03-31