title: Create an array, hashtable and dictionary?
body: <p>What is the proper way to create an array, hashtable and dictionary?</p>
  
  <pre><code>$array = [System.Collections.ArrayList]@()
  </code></pre>
  
  <p><code>$array.GetType()</code> returns ArrayList, OK.</p>
  
  <pre><code>$hashtable = [System.Collections.Hashtable]
  </code></pre>
  
  <p><code>$hashtable.GetType()</code> returns RuntimeType, Not OK.</p>
  
  <pre><code>$dictionary = ? 
  </code></pre>
  
  <p>How to create a dictionary using this .NET way?</p>
  
  <p>What is the difference between dictionary and hashtable? I am not sure when I should use one of them.</p>