Ejemplo n.º 1
0
        public override Car GetCar()
        {
            Car toyota = new Suzuki();

            toyota.Model = model;
            toyota.Speed = speed;
            return(toyota);
        }
Ejemplo n.º 2
0
        public override Car GetCar()
        {
            Car suzuki = new Suzuki();

            suzuki.Model = model;
            suzuki.Speed = speed;
            return(suzuki);
        }