/ Published in: C#
System.Diagnostics.Debug uses [Conditional("DEBUG")].
ILDASM.EXE shows that no code is generated.
ILDASM.EXE shows that no code is generated.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
[Conditional("DEBUG")] private static void debugtest() { ... }
URL: http://bytes.com/topic/c-sharp/answers/237540-conditional-debug-if-debug