static void Main(string[] args)
        {
            DictionaryPerformance dp1 = new DictionaryPerformance();

            dp1.TraverseDict();

            Console.WriteLine("\nPress any key to Exit!");
            Console.ReadKey();
        }
Example #2
0
        static void Main(string[] args)
        {
            DictionaryPerformance dp1 = new DictionaryPerformance();

            Console.WriteLine("Dictionary<int,Object>:\n");
            dp1.TraverseInt();
            Console.WriteLine("Dictionary<ushort,object>:\n");
            dp1.TraverseUShort();
            Console.WriteLine("\nDictionary<short,object>:\n");
            dp1.TraverseShort();


            Console.WriteLine("\nPress any key to Exit!");
            Console.Read();
        }