I want to execute some code only in debug mode. I found this:
But this refers for methods. I want to say something like this:
The code there seems to be commented. What I have to do?
Thank you!
Code:
[ Conditional("Debug") ]
public void DebugThis(){...}
Code:
#if DEBUG
code...
#endif
Thank you!
Comment