The thing is, i really dont want the console window to show up...but the solution should be running. My point here is, I want to keep the application running in the backgro
Instead of Console.Readline/key you can use new ManualResetEvent(false).WaitOne() at last. This works well for me.
Console.Readline/key
new ManualResetEvent(false).WaitOne()