Hi,
I need to perform some Operations in DEBUG-Builds (C# Windows-Forms
application). How can I detect a DEBUG-Configuration and perform actions as
with the C++ directives
#ifdef _DEBUG
...
#else
...
#endif
Thanks for any hint!
Harald
Vadym Stetsyak - 14 Sep 2006 16:44 GMT
Hello, Harald!
H> #ifdef _DEBUG
H> ...
H> #else
H> ...
H> #endif
In the same way as with C++ only instead _DEBUG use DEBUG
#if DEBUG
//do debug
#else
//do release
#endif
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com