//Set the selected operating system public void updateOpSys(string updateTo) { this.selectedSystem = new OpSys(updateTo); }
public Computer(string description, DateTime dateOfPurchase, int monthsOfWarranty, double priceOfPurchase, Maker manufacturer, bool batteries, OpSys operatingSystem, bool laptop) : base(description, dateOfPurchase, monthsOfWarranty, priceOfPurchase, manufacturer, batteries) { OperatingSystem = operatingSystem; Laptop = laptop; }