//Console.WriteLine("=======创建线程=========");
//ServerThread serverThreadInstance = new ServerThread(pipeName);
//Thread serverThread = new Thread(new ThreadStart(serverThreadInstance.run));
//serverThread.Start();
//ClientThread clientThreadInstance = new ClientThread(pipeName);
//Thread clientThread = new Thread(new ThreadStart(clientThreadInstance.run));
//clientThread.Start();
//Console.WriteLine("===============创建线程完成======================");
标签:Console,Thread,C#,Start,pipeName,new,多线程,数据交换 From: https://www.cnblogs.com/wangtiantian/p/17562220.html