//Constructor public Motherboard(string manufacturar, RAM ram, CPU cpu, HardDrive hardDrive, GPU gpu) { Manufacturer = manufacturar; TemporaryMemory = ram; Processor = cpu; Storage = hardDrive; Graphics = gpu; }
public bool CheckRequirements(Applications app, HardDrive hardDrive, RAM ram) { if (app.RequiredRAM < ram.totalGigabytes && app.RequiredStorage < hardDrive.availableStorage) { return(true); } else { return(false); } }