I know that I can use preprocessor directives in C# to enable/disable compilation of some part of code.
If I define a directive in the same file, it wor
There is no sense of applying #define on usings, as in this way you don't unlink from your project the libraries, that I suppose, you would like to avoid to reference in some condition.
There is no such thing in .NET as conditional assemblies reference (if not done manually, dynamically).
So the main point of use of preprocessor directives is just enable/disable parts of the code inside namespaces.