title: Conditional Attribute
body: <p>A quick C# question, I would like to know that in my project > Properties > Build, there is a check <strong>"Define DEBUG constant"</strong>, so if I check that and then do this,</p>
  
  <pre><code>[Conditional(DEBUG)]
  public static void Foo() {
        Console.WriteLine("Executed Foo");
  }
  </code></pre>
  
  <p>See it's not <strong>"DEBUG"</strong> its the <strong>DEBUG</strong> constant. So will this be okay? Or do I have to add the <strong>"DEBUG"</strong> in the Conditional Compilation Symbols in the Project settings? Or <strong>#define</strong> it?</p>