#if #else #elif #endif #define #undef #warning #error #line #region #endregionThe C# compiler does not have a seperate preprocessor as in C/C++ so you don't have a #include available.
#define DEBUG using System; using System.Diagnostics; class SampleClass { [Conditional("DEBUG")] public static void ConditionallyIncluded() { Console.WriteLine("Hello Zaphod!"); } }Regards