Esempio n. 1
0
        static void Main(string[] args)
        {
            HashTable ht = new HashTable(10);

            string b = "Banana";

            ht.Add(b);
            ht.Add("Apple");
            ht.Add("Xamarin");

            foreach (LinkedList <string> x in ht.GetHashtable())
            {
                if (x != null)
                {
                    foreach (string s in x)
                    {
                        Console.WriteLine(s);
                    }
                }
            }

            Console.ReadLine();
        }