Disable Compilation Error In C#
January 9, 2007 by bnma
To disable a compilation error in C#, you only need to put this code just before the method declaration:
#pragma warning disable xxxx
Where xxxx is the error code from compilation likeĀ 0429 for example.