title: Parse string to DateTime in C#
body: <p>I have <strong>date and time</strong> in a string formatted like that one:</p>
  
  <pre><code>"2011-03-21 13:26" //year-month-day hour:minute
  </code></pre>
  
  <p>How can I parse it to <code>System.DateTime</code>?</p>
  
  <p>I want to use functions like <code>DateTime.Parse()</code> or <code>DateTime.ParseExact()</code> if possible, to be able to specify the format of the date manually.</p>