C# – How to launch application one from another in C#


I have two desktop applications. After closing the first application, the first application will start the second application.

How do I start the second application after finishing first application?

My first application creates a separate desktop.

Best Solution

Use the Process class when you are exiting your first application.

var p = new Process();
p.StartInfo.FileName   = "notepad.exe";  // just for example, you can use yours.