public static Computer CreateComputer(CPU cpu, RAM ram, GPU gpu) { Computer computer = new Computer(); computer.cpu = cpu; computer.ram = ram; computer.gpu = gpu; return computer; }
public Computer() { cpu = null; ram = null; gpu = null; }