splitting string to array to create dateTime in c#
<p>I have a string called TheUserTime that looks like this:</p>

<pre><code>string TheUserTime = "12.12.2011.16.22"; //16 is the hour in 24-hour format and 22 is the minutes
</code></pre>

<p>I want to generate a DateTime from this by splitting the string in a array of ints (what happens when it's 0?) and composing the date object.</p>

<p>What's the best way to do this?</p>

<p>Thanks.</p>
