D
Daniel Bass
In C++ you can use the following:
#ifndef _DEBUG
// code here only runs in debug mode
#endif
where you can set different code to be included in different builds. Useful
for having a logging system for debugging only when compiling the project in
Debug, but wanting to turn it off in Release.
It this possible with c#.net? (VS.net 2003)
Thanks!
Dan.
#ifndef _DEBUG
// code here only runs in debug mode
#endif
where you can set different code to be included in different builds. Useful
for having a logging system for debugging only when compiling the project in
Debug, but wanting to turn it off in Release.
It this possible with c#.net? (VS.net 2003)
Thanks!
Dan.