#if defined( DEBUG) in C# - use [Conditional("DEBUG")]


/ Published in: C#
Save to your folder(s)

System.Diagnostics.Debug uses [Conditional("DEBUG")].

ILDASM.EXE shows that no code is generated.

URL: http://bytes.com/topic/c-sharp/answers/237540-conditional-debug-if-debug

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.