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