Thread t = new Thread(() => { while (true) { Console.WriteLine(DateTime.Now); Thread.Sleep(1000); } } ); t.Start();