string to date conversion in c#
<p>I have a string "13/6/2011".I have to convert it into DateTime. For this i am using </p>

<pre><code> DateTime.ParseExact("13/6/2011","DD/MM/YYYY",null);
</code></pre>

<p>But it showing </p>

<pre><code> String was not recognized as a valid DateTime
</code></pre>

<p>exception.
Any idea why?</p>
