Explain how to configure Trace switches in the application’s .config file.


switches are configured using the .config file

<system.diagnostics>
<switches>
<add name="MyTraceSwitch" value="1" />
<add name="TraceSwitch2" value="1" />
</switches>
</system.diagnostics>