Friday, August 28, 2009

.NET Tips and Tricks [Debugging]

#if DEBUG
      // enter code for debugging here
#else
      // enter code for live here
#endif

[Place debugging code within the #DEBUG region to prevent any mistakes of forgetting to comment out the printlines or carry out certain test actions when live]

No comments:

Post a Comment