static void Main(string[] args) { var stopwatch = new StopWatch(); Console.WriteLine("Hello!"); do { Console.WriteLine("Type 'start' to start this stopwatch: "); stopwatch.Start(); Console.WriteLine("Type 'stop' to stop this stopwatch: "); stopwatch.Stop(); stopwatch.DurationTime(stopwatch.StartTime, stopwatch.StopTime); } while (stopwatch.Command == "run"); }