C#, parsing a date from string error
<p>In the C#, I am parsing a date from string, but it gives me error </p>

<pre><code>DateTime.Parse("07/26/2012");
</code></pre>

<p>the error</p>

<pre><code> System.FormatException: String was not recognized as a valid DateTime.
   at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at System.DateTime.Parse(String s)
</code></pre>

<p>is it related to date format ? is it related to my pc setting ?</p>

<p>Thanks</p>
