Esempio n. 1
0
 public Laptop(string model, double price, string manufacturer, string processor, int ram,
     string graphicsCard, int HDD, string screen, Battery battery)
     : this(model, price, manufacturer, battery)
 {
     this.Processor = processor;
     this.Ram = ram;
     this.GraphicCard = graphicsCard;
     this.Hdd = hdd;
     this.Screen = screen;
 }
Esempio n. 2
0
 public Laptop(string model, double price, string manufacturer, Battery battery)
     : this(model, price)
 {
     this.manufacturer = manufacturer;
     this.battery = battery;
 }