Exemplo n.º 1
0
        static void Main(string[] args)
        {
            IHashTable ht = new IHashTable(5);

            ht.put(2, "kinan");
            ht.put(7, "kinan2");
            ht.put(1, "zaino");

            Console.WriteLine(ht.get(7).value);



            //hashTable built in

            /*
             * Hashtable hh = new Hashtable(10);
             * hh.Add(1, "kinan");
             * hh.Add(2, "zaino");
             * hh.Add(3, "shaza");
             *
             * Console.WriteLine( hh.Values);
             *
             */

            Console.ReadKey();
        }