public void GenerateRandomNumber(int minValue, int maxValue, IRamMemory ram) { Random random = new Random(); int randomNumber = random.Next(minValue, maxValue); ram.SaveInteger(randomNumber); }
private void SaveData(int numberToStore, IRamMemory ram) { ram.SaveInteger(numberToStore); }