title: C#: Best Practices Debug.Print
body: <p>What is the best practice regarding <a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.debug.aspx" rel="nofollow"><code>Debug.Print</code></a> statements?</p>
  
  <p>Should I litter my class methods with <code>Debug.Print</code> statements or should I avoid <code>Debug.Print</code> altogether?</p>
  
  <p>If <code>Debug.Print</code> statements are acceptable should I consider using <a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.trace%28v=vs.71%29.aspx" rel="nofollow"><code>Trace.Print</code></a> or <a href="http://msdn.microsoft.com/en/library/system.diagnostics.eventlog%28v=VS.90%29.aspx" rel="nofollow"><code>EventLog</code></a>?</p>
  
  <p>Are <code>Debug.Print</code> statements necessary with unit tests? Can I avoid <code>Debug.Print</code> statements with well written unit tests?</p>