title: Is there an easy way of getting all of an objects properties as a string?
body: <p>I have a class called ReportToDownload that contains several properties. In the Assert part of a test I'm comparing expected and actual lists of ReportToDownload using an equality comparer I have written. For any items that don't match I was hoping to print out the contents of the expected and actual items as part of the message using: </p>
  
  <pre><code>actual[i].ToString()
  </code></pre>
  
  <p>but this just returns the name of the object - ReportToDownload. Is there any way of easily getting the whole contents of the object as a string? </p>