title: string to date time "hh:mm:ss" or "dd.mm.yyyy hh:mm:ss" format
body: <p>I try to convert a string like "hh:mm:ss" or "dd.mm.yyyy hh:mm:ss" but I didn't accomplish :(
  Code like that :</p>
  
  <pre><code>public DateTime[] tarihSaat = new DateTime[documentRowCount]
  
  string c = "27.12.2010 00:00:00"
  
  tarihSaat[0] = DateTime.ParseExact(c, "dd.MM.yyyy hh:mm:ss", CultureInfo.InvariantCulture);
  </code></pre>
  
  <p>but it didn't work..Any suggestion?</p>