Ejemplo n.º 1
0
            internal Computer(Computers.Type type,
                Cpu cpu,

                Rammstein
                ram,
                IEnumerable<HardDriver> hardDrives,
                HardDriver videoCard,
                LaptopBattery battery)
            {
                Cpu = cpu;
                Ram = ram;
                HardDrives = hardDrives;
                VideoCard =

                    videoCard;
                if (type !=
                    Type.LAPTOP
                    && type
                    !=
                    Type.PC) VideoCard.IsMonochrome = true;
                this.battery = battery;
            }
Ejemplo n.º 2
0
 private static void Main()
 {
     Computers computers = new Computers();
     Computers.main();
 }