S
Sagaert Johan
Hi
Can a lot of Console.Writeline commands cause a program to run slower ?
johan
Can a lot of Console.Writeline commands cause a program to run slower ?
johan
Mark R. Dawson said:An easier way rather than putting lots of #if DEBUG all over your code is to
use either the:
System.Diagnostics.Debug.WriteLine or
System.Diagnostics.Trace.WriteLine methods
When in debug mode both Trace and Debug will output, when in release only
trace will output, unless you remove the TRACE symbol from you compiler
options.
Hope that helps.
Mark R Dawson
http://www.markdawson.org
Sagaert said:Can a lot of Console.Writeline commands cause a program to run slower