예제 #1
0
        static void Main(string[] args)
        {
            MyDictionary <string> FirstName = new MyDictionary <string>();

            FirstName.Add("Umut");
            FirstName.Add("Kemal");
            FirstName.Add("Mustafa");

            MyDictionary <string> LastName = new MyDictionary <string>();

            LastName.Add("Azak");
            LastName.Add("Sancak");
            LastName.Add("Ren");

            MyDictionary <int> Tel_No = new MyDictionary <int>();

            Tel_No.Add(123456);
            Tel_No.Add(1234567);
            Tel_No.Add(12345678);


            Console.ReadKey();
        }
예제 #2
0
        static void Main(string[] args)
        {
            MyDictionary <int, string> myDictionary = new MyDictionary <int, string>();

            myDictionary.Add(15, "seda");
        }