Q:
Explain how to configure Trace switches in the application’s .config file.?
Answer
switches are configured using the .config file
<system.diagnostics>
<switches>
<add name="MyTraceSwitch" value="1" />
<add name="TraceSwitch2" value="1" />
</switches>
</system.diagnostics>
both are on.
View answer
Workspace
Report Error
Discuss