//public Car(string numberPlate, string model, BodyTypes bodyType, Size size, string colour, string mileage, string accidentHistory, Transmissiontype transmissiontype, string price, string dateArrival) //дописать !!completed!! //{ // this.numberPlate = numberPlate; // this.Model = model; // this.bodyType = bodyType; // this.size = size; // this.colour = colour; // this.mileage = mileage; // this.accidentHistory = accidentHistory; // this.transmissionType = transmissiontype; // this.price = price; // this.dateArrival = ToDate(dateArrival);//вызво метода преобразвоания //} // 3 v public Car(string numberPlate, string model, BodyTypes bodyType, string colour, string mileage, string accidentHistory, Transmissiontype transmissiontype, string price) //дописать !!completed!! { this.numberPlate = numberPlate; this.Model = model; this.bodyType = bodyType; this.colour = colour; this.mileage = mileage; this.accidentHistory = accidentHistory; this.transmissionType = transmissiontype; this.price = price; }
public Car(string numberPlate, string model, BodyTypes bodyType, string colour, string mileage, string accidentHistory, Transmissiontype transmissiontype, string price, string dateArrival) //дописать !!completed!! { this.numberPlate = numberPlate; this.Model = model; this.bodyType = bodyType; this.colour = colour; this.mileage = mileage; this.accidentHistory = accidentHistory; this.transmissionType = transmissiontype; this.price = price; this.dateArrival = ToDate(dateArrival);//вызво метода преобразвоания }
public Car() //дописать, !!дописано наверно!! { this.numberPlate = ""; this.colour = ""; this.mileage = ""; this.accidentHistory = ""; this.price = ""; this.size = Size.large; this.numDoors = NumDoors.two; this.numSeats = NumSeats.two; this.bodyType = BodyTypes.Saloon; this.accessability = Accessability.sold; this.transmissionType = Transmissiontype.manual; this.dateArrival = DateTime.Today; this.dateSell = new DateTime(); //вернет 01 01 01 }