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; }
private static void Main() { Computers computers = new Computers(); Computers.main(); }