using System; using System.Threading; /// StartClocks runs a ThreeClock public class StartClocks { public static void Main() { ThreeClocks c = new ThreeClocks(); while ( true ) { c.tick(); Console.WriteLine(c.getTime()); // make the program sleep 100 milliseconds: Thread.Sleep(100); } } }