3 ms·
#if 0 // Normal path #else // Debug path #endif Only works with C and C++, though.
by penguin_booze 19d ago
#if 0
// Normal path
#else
// Debug path
#endif
Only works with C and C++, though.
- elboru 18d agoC#: #if DEBUG Console.WriteLine("This only compiles and runs in Debug mode."); #else Console.WriteLine("This only compiles and runs in Release mode."); #endif