2-dimensional array with duplicated index key
<p>i want to translate this line of code from php to asp.net </p>

<pre><code>$subid[$value['parentid']][] = $value['id'];
</code></pre>

<p>i'm not familiar with asp.net data structure, i've tried arraylist but can't insert at [1], dictionary do not allow duplicated keys, anyone have ideas?</p>

<p>thanks</p>
