title: What is the best way to dump entire objects to a log in C#?
body: <p>So for viewing a current object's state at runtime, I really like what the Visual Studio Immediate window gives me.  Just doing a simple</p>
  
  <pre><code>? objectname
  </code></pre>
  
  <p>Will give me a nicely formatted 'dump' of the object.  </p>
  
  <p><strong>Is there an easy way to do this in code, so I can do something similar when logging?</strong></p>