代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.IO;
using System.Diagnostics;
namespace ConsoleApp9
{
class Program
{
static void Main(string[] args)
{
Process process = new Process();
process.StartInfo.FileName = "iexplore.exe";
process.StartInfo.Arguments = "http://www.baidu.com";
process.Start();
Console.ReadKey();
}
}
}
运行效果