private static void Main(string[] args) { gpu = new Gpu(); hdd = new Hdd(); cpu = new Cpu(gpu, hdd); cpu.RunProgram(); }
public Cpu(Gpu gpu, Hdd hdd) { this.gpu = gpu; this.hdd = hdd; }