How to execute code only in debug mode in ASP.NET

Viewed 34875

I have an ASP.NET web application and I have some code that I want to execute only in the debug version. How to do this?

3 Answers
Related