Sorry For bugs of my previous post

I was so tired....
errata:
It checks whether the DEBUG symbol exists in your code or not.
You can define these symbols using #define directive.
For best help I copy an exact bit of code from the book "professional C# 4 and .Net 4" :
Code:
#define ENTERPRISE
#define W2K
// further on in the file
#if ENTERPRISE
// do something
#if W2K
// some code that is only relevant to enterprise
// edition running on W2K
#endif
#elif PROFESSIONAL
// do something else
#else
// code for the leaner version
#endif
I do apologize again . . .