Пример #1
0
        private static void Main(string[] args)
        {
            gpu = new Gpu();
            hdd = new Hdd();
            cpu = new Cpu(gpu, hdd);

            cpu.RunProgram();
        }
Пример #2
0
 public Cpu(Gpu gpu, Hdd hdd)
 {
     this.gpu = gpu;
     this.hdd = hdd;
 }