Exemplo n.º 1
0
 public Laptop(string model, string manufacturer, string processor, string ram, string graphicsCard, string hdd, string screen, Battery batteryType, double batteryLife, decimal price)
 {
     this.Model = model;
     this.Manufacturer = manufacturer;
     this.Processor = processor;
     this.Ram = ram;
     this.GraphicsCard = graphicsCard;
     this.Hdd = hdd;
     this.Screen = screen;
     this.BatteryType = batteryType;
     this.BatteryLife = batteryLife;
     this.Price = price;
 }
Exemplo n.º 2
0
 public Laptop(string model, string screen, Battery battery, double batteryLife, decimal price)
     : this(model, null, null, null, null, null, screen, battery, batteryLife, price)
 {
 }