Untitled
unknown
plain_text
2 years ago
383 B
0
Indexable
Never
using System; using System.Threading; class Program { static void Main(string[] args) { Thread t = new Thread(() => { while (!Console.KeyAvailable) { Console.WriteLine(DateTime.Now); Thread.Sleep(1000); } }); t.Start(); Console.ReadKey(); } }