conditional preprocessor directive in C# code example Example: conditional compilation c# #if DEBUG Console.WriteLine("Debug version"); #endif