1 using System
.Collections
;
5 public static int Main () {
7 "one", "two", "three", "four"
9 Hashtable hash
= new Hashtable ();
11 for (int i
=0; i
< names
.Length
; ++i
) {
12 hash
.Add (names
[i
], i
);
14 if ((int)hash
["one"] != 0)
16 if ((int)hash
["two"] != 1)
18 if ((int)hash
["three"] != 2)
20 if ((int)hash
["four"] != 3)
22 if (hash
.Contains("urka"))