In Delphi, the compiler directives {$ d-} and {$ l-} can effectively avoid generating debugging information and a local variable for a particular section of code.
In a practical question that has the effect of "hiding" the code from the debug view, it does not appear on the call stack, and you do not enter it during debugging.
Is there a way to achieve the same result in C # using VS 2008?
Note. The reason is that we have a stable structure that does not need to be debugged, but, as a rule, ruin the call stack and the standard debug stream.
source share