How to hide a console application in C#

menacheb picture menacheb · May 4, 2010 · Viewed 23.6k times · Source

I have a console application in C#, and I want that the user won't be able to see it.

How can I do that?

Answer

driis picture driis · May 4, 2010

Compile it as a Windows Forms application. Then it won't display any UI, if you do not explicitly open any Windows.