[DllImport("kernel32.dll")]
static extern void ExitProcess(uint uExitCode);
None.
This API is dangerous and you should avoid using it. See MSDN docs for details.
It is not clear what the uExitCode does. It didn't seem to change the code sent when my program exited. (Same is true of the managed version, below.)
Please add some more Tips!
Please add some!
static void System.Environment.Exit(int exitCode);