static void Main(string[] args) { ProgramPipeTest Client = new ProgramPipeTest(); Thread ClientThread = new Thread(Client.ThreadStartClient); ClientThread.Start(); }
static void Main(string[] args) { ProgramPipeTest Server = new ProgramPipeTest(); Thread ServerThread = new Thread(Server.ThreadStartServer); ServerThread.Start(); }
static void Main(string[] args) { // To simplify debugging we are going to create just one process, and have two tasks // talk to each other. (Which is a bit like me sending an e-mail to my co-workers) ProgramPipeTest Server = new ProgramPipeTest(); ProgramPipeTest Client = new ProgramPipeTest(); Thread ServerThread = new Thread(Server.ThreadStartServer); Thread ClientThread = new Thread(Client.ThreadStartClient); ServerThread.Start(); ClientThread.Start(); }
static void Main(string[] args) { ProgramPipeTest Server = new ProgramPipeTest(); Thread ServerThread = new Thread(Server.ThreadStartServer); ServerThread.Start(); /*Thread thread1 = new Thread(() => First()); * Thread thread2 = new Thread(() => Second()); * Thread thread3 = new Thread(() => Third());*/ //thread1.Start(); //thread2.Start(); }