public NumberGuessingGame(GuessNumber number) { _guessNumber = number ?? throw new ArgumentNullException(nameof(number), $"{number} cannot be null"); }
public NumberGuessingGame() { _guessNumber = new GuessNumber(MinNumber, MaxNumber); }