Exemple #1
0
        private static void Main(string[] args)
        {
            Console.WriteLine("小明约出女神");
            Console.WriteLine("小明开始让小A准备晚餐");
            SomeMing m  = new SomeMing();
            Hire     hi = new SomeA();

            m.Read(hi);
            Console.WriteLine("晚餐准备完毕");
            m.Go(hi);
            Console.ReadLine();
        }
Exemple #2
0
 private static void Main(string[] args)
 {
     Console.WriteLine("小明约出女神");
     Console.WriteLine("小明开始让小A准备晚餐");
     SomeMing m = new SomeMing();
     Hire hi = new SomeA();
     m.Read(hi);
     Console.WriteLine("晚餐准备完毕");
     m.Go(hi);
     Console.ReadLine();
 }