Tuesday, 24 August 2010

Run code only in debug mode

I always forget the syntax for this!
#if DEBUG
   //do this in debug
#else   
   //do something else in release
#endif

No comments:

Post a Comment

Comments are moderated, so you'll have to wait a little bit before they appear!