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?
To hide a console applicatin in C# when nothing else works use this code:
[DllImport("kernel32.dll")] public static extern bool FreeConsole();
Place FreeConsole() anywhere in the code, I placed it in the Init(), and the commandline is hidden.