0
Smarter Debug Code With Conditional Compilation
Posted by Sameer on July 18, 2007 in .NET articles | ∞
.NET introduces something called “conditional compilation”, which allows you to specify debug-only code. Learn how you can leverage this to create smarter debugging code, an asset to development (as opposed to useless print statements)! Debug code that requires no extra effort to remove, and does not add to the size of the generated binary.