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