title: Hashtable retrieve value by position?
body: <pre><code>public static Hashtable Drinks = new Hashtable();
  Drinks["Water"] = 3;
  Drinks["Coffee"] = 2
  Drinks["Beer"] = 5;
  </code></pre>
  
  <p>To get the value of item I use:
  int drink = (int)Drinks["Water"];
  which works.</p>
  
  <p>I wanted to know how i can make this work.
  pCardValue1 = (int)card[1];    </p>
  
  <p>Like instead of typing the item name i want to get the value by position.</p>