Answers for "how to run an external program with c#"

C#
2

how to run an external program with c#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace Demo_Console
{
    class Program
    {
        static void Main(string[] args)
        {
            Process ExternalProcess = new Process();
            ExternalProcess.StartInfo.FileName = "Notepad.exe";
            ExternalProcess.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
            ExternalProcess.Start();
            ExternalProcess.WaitForExit();
        }
    }
}
Posted by: Guest on August-13-2020

Code answers related to "how to run an external program with c#"

C# Answers by Framework

Browse Popular Code Answers by Language