public override ComputerLaptop MakeLaptop() { // Laptop – 64 bit CPU with 2 cores, 16GB RAM, one 1000GB hard drive, colorful video card and laptop battery. var ram = new Ram(16); var laptopHDD = new HardDrive(); ComputerLaptop laptop = new ComputerLaptop( new Cpu(2, 64, ram), ram, new[] { new HardDrive(1000, false, 0) }, laptopHDD, new LaptopBattery(), new Videocard()); return laptop; }
public override ComputerLaptop MakeLaptop() { ComputerLaptop laptop; var ram = new Ram(8); var hardDrive = new HardDrive(); laptop = new ComputerLaptop( new Cpu(4, 32, ram), ram, new[] { new HardDrive(1000, false, 0) }, hardDrive, new LaptopBattery(), new Videocard()); return laptop; }
public override ComputerLaptop MakeLaptop() { ComputerLaptop laptop; var laptopHDD = new HardDrive(); var ram1 = new Ram(4); laptop = new ComputerLaptop( new Cpu(2, 64, ram1), ram1, new[] { new HardDrive(500, false, 0) }, laptopHDD, new LaptopBattery(), new Videocard()); return laptop; }