Is it possible to use preprocessor definitions in C# like we do in C and C++?
Code:#define DEBUG // ... #ifdef DEBUG Console.WriteLine("This is a debug message."); #endif // #ifdef DEBUG
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Results 1 to 4 of 4
Thread: Preprocessor definitions in C#Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |