In C++ we can use #ifdef to eliminate some debug statements when we release. C# is different from C++ in preprocessor. Can I still get the same result useing C# #if. We want to
Use something like:
#if DEBUG System.Console.WriteLine("This is debug line"); #endif