public void SetDaysToPlay() { UI.GetDaysToPlay(); try { daysToPlay = Int32.Parse(Console.ReadLine()); } catch (Exception e) { Console.WriteLine(e.Message); Console.ReadLine(); SetDaysToPlay(); } // write a user validation check }