What's the accepted way to write a C# TSR?
- by dlanod
I'm using C# to write a WCF router which I want to stay running without using the Console.ReadKey "hack". I was wondering if there's an accepted way to do this within C# that's more elegant than
while (true)
Thread.Sleep(100);