static void AutoTest() { Console.WriteLine("Perform a number: "); String s = Console.ReadLine(); int userNumber = int.Parse(s); Console.Clear(); Console.WriteLine("Your number is {0}!", NumberGuess.StartGuess(userNumber)); Console.ReadKey(); }
static bool AutoTest(int userNumber) { return(NumberGuess.StartGuess(userNumber) == userNumber); }