| #if DEBUG |
| // Executes When Active Solution is defined as DEBUG |
| #else |
| // Executes When Active Solution is NOT defined as DEBUG |
| #endif |
Depending on the Active Solution Configuration some code will be grayed out, in the above example if the Active Solution was "Debug" the code within the else section will be grayed out, if the Active Solution configuration was changed to "Release" or anything other than "Debug" the code under the if statement would become grayed out.