title: How to get string representation of a MultipartFormDataContent
body: <p>Is there a way to get the string representation of a MultipartFormDataContent for debugging purposes?</p>
  
  <p>I have tried <code>var x = multipart.ToString();</code> but it returned <code>System.Net.Http.MultipartFormDataContent</code> instead of something like the following below.</p>
  
  <pre><code>-----------------------------9051914041544843365972754266
  Content-Disposition: form-data; name="text"
  
  text default
  -----------------------------9051914041544843365972754266
  Content-Disposition: form-data; name="file1"; filename="a.txt"
  Content-Type: text/plain
  
  Content of a.txt.
  
  -----------------------------9051914041544843365972754266
  Content-Disposition: form-data; name="file2"; filename="a.html"
  Content-Type: text/html
  
  &lt;!DOCTYPE html&gt;&lt;title&gt;Content of a.html.&lt;/title&gt;
  
  -----------------------------9051914041544843365972754266--
  </code></pre>