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