Пример #1
0
 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;
 }
Пример #2
0
 public Computer()
 {
     cpu = null;
     ram = null;
     gpu = null;
 }
Пример #3
0
 public Computer()
 {
     cpu = null;
     ram = null;
     gpu = null;
 }