title: Parsing any date format string to datetime
body: <p>In C#, how do I parse a string of format <code>&quot;dd/mm/yyyy&quot;</code> or format <code>&quot;dd-mm-yyyy&quot;</code> to datetime?
  I get an error that says my string is not in the correct format. I need to be able to parse all the formats not just one of them.</p>