title: How to convert 6/2/2000 to 06/02/2000 in C#
body: <p>I have a string coming from one place:</p>
  
  <p>"06/02/2000"</p>
  
  <p>I have another string coming from a different place:</p>
  
  <p>"6/2/2000"</p>
  
  <p>I need to compare these two to do some processing. </p>
  
  <p>When comparing these two, it's different when it shouldn't be.</p>
  
  <p>How can I change the second from "6/2/2000" to "06/02/2000"? this is currently a string.</p>
  
  <p>I tried to do this:</p>
  
  <pre><code>DateTime dt = DateTime.ParseExact(data[i].contract_dt, "MM/dd/yyyy", System.Globalization.CultureInfo.InvariantCulture);
  </code></pre>
  
  <p>But it's bombing because of "6/2/2000"</p>