public static void Main(params string[] args) { using (var lapTimer = new LapTimer(TimeSpan.FromMilliseconds(100), remaining => Console.WriteLine(remaining))) { lapTimer.StartRace(TimeSpan.FromSeconds(5)); System.Threading.Thread.Sleep(2000); lapTimer.RaceComplete(); } Console.ReadLine(); }