title: Why does Debug.WriteLine incorrectly format strings?
body: <p>I have the following <code>Debug.WriteLine</code>:</p>
  
  <pre><code>Debug.WriteLine("Metadata Version: {0}", version); // update: version is a string
  </code></pre>
  
  <p>The output is:</p>
  
  <blockquote>
    <p>2.0: Metadata Version: {0}</p>
  </blockquote>
  
  <p>Why is the string formatted this way?</p>
  
  <p>I didn't see anything in MSDN documentation that identifies reasoning behind this format. I have to do the following to get a correctly formatted output:</p>
  
  <pre><code>Debug.WriteLine(string.Format("Metadata Version: {0}", version));
  </code></pre>