title: ASP.NET equivalent of this PHP code (arrays)?
body: <p>I am mainly programming in PHP, but for my school project I have to use ASP.NET(C#). Now I have this code which works in PHP:</p>
  
  <pre><code>$Data = array();
  while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
      $date = strtotime($row["Date"])*1000;
      $Data[] = array($date, $row["Data"]);
  }
  </code></pre>
  
  <ol>
  <li><p>As you can see it's a 2D array, which is expanding, but the inner array always has two parameters. Now I have searched on the web and haven't found how to declare a expanding array in ASP.NET(C#).</p></li>
  <li><p>Is there a replacement for strtotime in aspx?</p></li>
  </ol>