title: DateTime.ParseExact string format exception
body: <p>I am trying to convert a string into datetime with the following C# code,</p>
  
  <pre><code>DateTime dTo = DateTime.ParseExact(dateTo, "mm/dd/yyyy", CultureInfo.InvariantCulture);
  </code></pre>
  
  <p>eachtime I pass dateTo as 1/1/2010 it fails, instead it needs the string to be 01/01/2010. </p>
  
  <p>What string format should I use to support both 01/01/2010 and 1/1/2010?</p>