title: Converting DateTime results in IndexOutOfRangeException
body: <pre><code>Time =(DateTime) AllQuestionsPresented.TryParse(dr["Time"].ToString());
  </code></pre>
  
  <p>Where <code>dr</code> is a SqlReader.</p>
  
  <p>I get an <code>IndexOutOfRangeException</code> and I don't know why. Here is the TryParse function:</p>
  
  <pre><code>public static DateTime? TryParse(string text)
  {
      DateTime date;
      if (DateTime.TryParse(text, out date))
      {
          return date;
      }
      else
      {
          return null;
      }
  }
  </code></pre>
  
  <p>I don't understand why I get that exception and how could i get rid of it?!</p>