c#
Kill asks the system to unceremoniously terminate the process (via a call to the Windows TerminateProcess system call). This is akin to End Process in Task Manager. Close closes the handle to the process in .NET, but does not actually touch the process is also called by this answer by Jon Skeet.. A third option is CloseMainWindow, which does gracefully shut down the ...