Beispiel #1
0
 private static void insertdynamically()
 {
     display rt = setdata();
     display2 d2 = new display2();
     d2.showmenu(rt);
     display r = new display();
     r.showrestaurent();
 }
Beispiel #2
0
        static void Main(string[] args)
        {
            display2 d2 = new display2();
            display srt = d2.ShowbyId(3);
            Console.WriteLine("{0}\t{1}\t{2}\t{3}\n", srt.Name, srt.Id, srt.Type, srt.Location);

            // Console.WriteLine("enter id");
            // int Id = Convert.ToInt32(Console.ReadLine());


        }