namespace System.Diagnostics; 

 

1Process ieProc = Process.Start("IExplore.exe""www.baidu.com");

2Console.WriteLine("-->Hit Enter to kill {0}", ieProc.ProcessName);
3Console.ReadLine();
4try

5{
6    ieProc.Kill();
7}
8catch{}

ferd song