Archive

How to Open a File / Process in C#(sharp)

It is simple to open a file (that has an executable associated with the file extension) using C# just add:

using System.Diagnostics;

You can then run process for .whatever file with:

 Process.Start(string path);

classProgram{staticvoidMain(){Process.Start(@"C:\your.xlsx");}}