title: C# Efficient Skip Console Writeline?
body: <p>A C# .NET exe (4.6.1) outputs a lot of status by calling a method that does Console.Writeline. So much that it visibly slows down execution. First thought was to add a bool and/not do the Writeline within the called method based on the value. However, if the exe does 4000 Writelines that is 4000 checks, which seems excessive.</p>
  
  <p>What is a good way to short-circuit the output? A way to do Console.SetOut to null somehow?</p>
  
  <p>Thanks.</p>