المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Detecting The Debug Version



C# Programming
05-25-2009, 05:23 AM
Good people,

How do I use the preprocessor "#if" to detect whether my app is running in debug or release mode?

(I know, I'm embarrassed to ask. Here, I've built an entire app and don't know how to detect debug mode. Doh!)

Thanks,
Blitz