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