Exemple #1
0
        static void Main(string[] args)
        {
            DictionaryList <string, int> FilmadYil = new DictionaryList <string, int>();

            FilmadYil.Add("İnek şaban", 1978);
            FilmadYil.Add("Bekciler kralı", 1979);
            FilmadYil.Add("Çarıklı Milyoner", 1983);
            FilmadYil.Add("Lucy", 2018);

            FilmadYil.GetAll();
            Console.WriteLine("Eleman sayisi: {0} ", +FilmadYil.Count);
            Console.ReadLine();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            DictionaryList <int, string> names = new DictionaryList <int, string>();

            names.Add(21, "Yakup Kadri");
            names.Add(20, "Busesu");
            names.Add(24, "Elif");


            Console.WriteLine("Yaşı: " + names.Keys[0] + "\t" + "İsmi: " + names.Values[0]);
            Console.WriteLine("Yaşı: " + names.Keys[1] + "\t" + "İsmi: " + names.Values[1]);
            Console.WriteLine("Yaşı: " + names.Keys[2] + "\t" + "İsmi: " + names.Values[2]);
        }
Exemple #3
0
        static void Main(string[] args)
        {
            DictionaryList <string> sozcukler = new DictionaryList <string>();

            sozcukler.Add("Dizi");

            Console.WriteLine(sozcukler.Length);

            sozcukler.Add("Veri");

            Console.WriteLine(sozcukler.Length);

            Console.WriteLine("Hello World!");

            Console.WriteLine("Hello World!");
        }
Exemple #4
0
            static void Main(string[] args)
            {
                DictionaryList <string> isimler = new DictionaryList <string>();

                isimler.Add("Elif");


                Console.WriteLine("Hello World!");
            }