示例#1
0
        static void Main(string[] args)
        {
            MyGenericDictionary <int, string> dictionary = new MyGenericDictionary <int, string>();

            dictionary.Add(555, "Abdullah");
            dictionary.Add(1500, "Onur");
            dictionary.Add(600, "Ozan");

            dictionary.Items();
            Console.ReadLine();
        }
示例#2
0
        static void Main(string[] args)
        {
            MyGenericDictionary <int, string> StudentList = new MyGenericDictionary <int, string>();

            StudentList.Add(1, "Mehmet Uğur");
            StudentList.Add(2, "Gökhan Kerman");
            StudentList.Add(3, "Erdem Demirel");
            StudentList.Add(4, "Ahmet Tosun");

            StudentList.Items();
        }