Mega Code Archive

 
Categories / C# Tutorial / Preprocessing Directives
 

Warning preprocessor

The #warning directive produces a warning. The general form of the #warning directive is #warning warning-message using System; class MainClass {   [STAThread]   static void Main(string[] args)   {     #warning Beware!     } }