|
Question : Multiple Consoles in C# .Net
|
|
Hello,
How can I use more than one console window in C# ? and then be able to choose which console to read from or write to. For example, to read a string from one console using string x = Console.ReadLine(); and then print that string to a second console using Console.WriteLine(x);
b.t.w. I'm using Visual Studio 2003, not 2005.
|
|
Answer : Multiple Consoles in C# .Net
|
|
The problem is communicating with the other consoles - you can create them no problem using the Process library but talking to them is getting into Interprocess communications which is just messy.
Try this out: http://www.codeproject.com/csharp/winconsole.asp
it should provide you with what you are looking for.
|
|
|