TraceSwitch Switch; Switch = new TraceSwitch("SwitchName", "Switch Trace"); System.Diagnostics.Trace.WriteIf(Switch.TraceInfo, "My message", "Info");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)