//Constructors public Laptop(string model,string manufacturer,string processor,int ram,string graphicsCard,string hdd,string screen, Battery battery, decimal price) { this.Model = model; this.Manufacturer = manufacturer; this.Processor = processor; this.Ram = ram; this.GraphicsCard = graphicsCard; this.Hdd = hdd; this.Screen = screen; this.battery = battery; this.Price = price; }
public Laptop(string model, string screen, Battery battery, decimal price) : this(model, null, null, 0, null, null, screen, battery, price) { }
//Constructors public Laptop(string model, string manufacturer, string processor, int ram, string graphicsCard, string hdd, string screen, Battery battery, decimal price) { this.Model = model; this.Manufacturer = manufacturer; this.Processor = processor; this.Ram = ram; this.GraphicsCard = graphicsCard; this.Hdd = hdd; this.Screen = screen; this.battery = battery; this.Price = price; }