Conditional Compilation With Logical A N D C# with Example
#define PRODUCTION #define TRIAL using System; namespace CSharpPreprocessor { class ConditionalCompilation { static void Main() { #if PRODUCTION && TRIAL Console.WriteLine("This is the perfect code to execute in Production"); #endif #if EXPERIMENTAL Console.WriteLine("This is the doubtful code to execute in Exprimental"); #endif } } }