Example #1
0
 public void MusteriListele(NMusteri musteri)
 {
     Console.WriteLine("id : " + musteri.id);
     Console.WriteLine("Ad : " + musteri.ad);
     Console.WriteLine("Yaş : " + musteri.yas);
     Console.WriteLine("Soyad : " + musteri.soyad);
 }
Example #2
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");

            NMusteri musterim = new NMusteri();

            musterim.ad    = "Hasan";
            musterim.soyad = "Çolak";
            musterim.id    = 5;
            musterim.yas   = 35;
            MusteriManager musteriManager = new MusteriManager();

            musteriManager.MusteriListele(musterim);

            musteriManager.MusteriSil(musterim);

            Console.ReadLine();
        }
Example #3
0
 public void MusteriSil(NMusteri musteri)
 {
     Console.WriteLine(musteri.id + "ıd Li kayıt silinmiştir");
 }