Export (0) Print Expand All Expand Minimize 2 out of 2 rated
this helpful - Rate this topic  /define (C# Compiler Options)
The /define option defines name as a symbol in all source code
files your program.  name, name2  The name of one or more
symbols that you want to define.  The /define option has the
same effect as using a #define preprocessor directive except
that the compiler option is in effect for all files in the
project. A symbol remains defined in a source file until an
#undef directive in the source file removes the definition. When
you use the /define option, an #undef directive in one file has
no effect on other source code files in the project.  You can
use symbols created by this option with #if, #else, #elif, and
#endif to compile source files conditionally.  /d is the short
form of /define.  You can define multiple symbols with /define
by using a semicolon or comma to separate symbol names. For
example:   The C# compiler itself defines no symbols or macros
that you can use in your source cod