Revision: 23089
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 29, 2010 16:38 by jimfred
Initial Code
[Conditional("DEBUG")] private static void debugtest() { ... }
Initial URL
http://bytes.com/topic/c-sharp/answers/237540-conditional-debug-if-debug
Initial Description
System.Diagnostics.Debug uses [Conditional("DEBUG")]. ILDASM.EXE shows that no code is generated.
Initial Title
#if defined( DEBUG) in C# - use [Conditional("DEBUG")]
Initial Tags
Initial Language
C#