Example #1
0
        private static void Main(string[] args)
        {
            Car    car = new Auldey();
            Remote re  = new AuldeyRemote(car);

            re.Up();
            re.Down();
            re.Right();
            Console.ReadLine();
        }
Example #2
0
 private static void Main(string[] args)
 {
     Car car = new Auldey();
     Remote re = new AuldeyRemote(car);
     re.Up();
     re.Down();
     re.Right();
     Console.ReadLine();
 }