示例#1
0
        public Ogrenciii next()
        {
            Ogrenciii ogrenciii = (Ogrenciii)ogrenciiis[sayi];

            sayi = sayi + 1;
            return(ogrenciii);
        }
示例#2
0
        void printogrenci(iterator iterator)
        {
            while (iterator.hasnext())
            {
                Ogrenciii ogrenciii = iterator.next();

                //                Console.Write(ogrenciii.GetName() + "");
                //               Console.Write(ogrenciii.GetSoyad() + "");
                //               Console.Write(ogrenciii.GetTel() + "");
                //               Console.Write(ogrenciii.GetSinif() + "");
                //               Console.Write(ogrenciii.GetOrtalama() + "");
            }
        }