title: associative array like in php in vb.net
body: <p>in PHP we know to make associative array using this code</p>
  
  <pre><code>$variable = array('0001'=&gt;'value1', '0010'=&gt;'value2');
  </code></pre>
  
  <p>and to print all keys and values using this code</p>
  
  <pre><code>foreach($variable as $key1 =&gt; $val1)
    foreach($val1 as $key2 =&gt; $val2)
      echo ("$key2 =&gt; $val2 &lt;br /&gt;")
  </code></pre>
  
  <p><b> and the question is how to perform this in vb.net? </b></p>
  
  <p>as i know to make associative array in vb.net using this :</p>
  
  <pre><code>Dim var As New Collection
  var.Add("value1", "0001")
  var.Add("value2", "0010")
  </code></pre>
  
  <p>how about to print value and key in vb.net like foreach in PHP? thanks</p>