Hi, I'm using VS2013, C# and asp.net web form
I want to print out messages from application to be different when it's in Debug mode and when it's in Release mode. I'm confused about how to use the #if DEBUG statement. Do I need to have "#define DEBUG " statement at the top of the main page aspx? Reading this link just confuses me, https://msdn.microsoft.com/en-us/library/4y6tbswk.aspx
I want the program to auto detect if it's in DEBUG mode but if I use the define statement does that always put it in DEBUG mode?
Does syntax like this is correct?
output this message;
output this other message;