示例#1
0
文件: Vehicle.cs 项目: Incid0/Garage1
 public virtual void EnterData()
 {
     Console.Write("Brand: ");
     Brand = Console.ReadLine();
     Console.Write("Model: ");
     Model = Console.ReadLine();
     Console.Write("Color: ");
     Color  = Console.ReadLine();
     Wheels = GarageHandler.InputNumeric("Wheels:");
 }
示例#2
0
 public override void EnterData()
 {
     base.EnterData();
     Wingspan = GarageHandler.InputNumeric("Wingspan:");
 }
示例#3
0
文件: Bus.cs 项目: Incid0/Garage1
 public override void EnterData()
 {
     base.EnterData();
     Seats = GarageHandler.InputNumeric("Number of seats:");
 }
示例#4
0
 public override void EnterData()
 {
     base.EnterData();
     CylVolume = GarageHandler.InputNumeric("Cylinder volume:");
 }
示例#5
0
文件: Boat.cs 项目: Incid0/Garage1
 public override void EnterData()
 {
     base.EnterData();
     Length = GarageHandler.InputNumeric("Length:");
 }