In C# you can define compile-time constants that may be checked to configure compilation
#define MY_CONST #if MY_CONST