Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Taxi taxi = new Taxi();

            taxi.DriveName       = "Jono";
            taxi.OnDuty          = true;
            taxi.NumbOfPassenger = 10;

            taxi.PickInfo();
            taxi.PickUpPassenger();
            taxi.DropOfPassenger();

            Console.Readkey();
        }