static void Main(string[] args) { Phone phone = new Phone(); Teletubbies tb = new Teletubbies(phone); while (true) { int intTemp = Convert.ToInt32(Console.ReadLine()); phone.SetTimeOfDay(intTemp); } }