title: Why is Path.Combine better than "\\"?
body: <p>Over the years, and again recently, I have heard discussion that everyone should use Path.Combine instead of joining strings together with "\\", for example:</p>
  
  <pre><code>string myFilePath = Path.Combine("c:", "myDoc.txt");  
  // vs.  
  string myFilePath = "C:" + "\\myDoc.txt";
  </code></pre>
  
  <p>I'm failing to see the benefit that the former version provides over the latter and I was hoping someone could explain.</p>