private bool LogConclusion(int[] numbers) { // the math to figure out is injected as a dependancy, this returns an object that contains a boolean // for if the matching... matched, and the number of the first digit. var result = _math.CompareSumDigits(numbers); Console.WriteLine($"First Digit sum = {result.Number}"); if (result.IsMatched) { // log if this is correct _console.GreenLine("Correct, each digit summed equaled the result of the first digits summed!"); } else { // log if this is NOT correct _console.RedLine("Incorrect, each digit was not equal to first digit!"); } // simply asking if the user wants to try again. Console.WriteLine(); Console.WriteLine("Do you want to try again?"); Console.WriteLine("press [Y]es to try again, any other key to close program..."); return(Console.ReadKey().Key == ConsoleKey.Y ? true : false); }