I want to start a new process B.exe from the current executing process A.exe.
And as soon as B.exe is launched I want to kill A.exe (the current executing process).<
Why do you want to close A from B while A cat start B and then close by itself?
A
B
Process.Start("A.exe"); Process.GetCurrentProcess().Kill(); // or Application.Exit(); or anything else