How to

trace to output

Published: 13. December 2008 | Updated: 9. October 2011
License: Microsoft Public License (MS-PL)
Categories: Debug
Tags: C# Debug Visual Studio
Was this snippet helpful for you? YESYES / NONO
Trace.Write("test");
Trace.WriteIf(a > b, "test");

// write and break line
double value = 123.456;
Trace.WriteLine(value);
Trace.WriteLineIf(value > 0, "test");
Send us feedback about this snippet »



Related Snippets: