When I run a console application in Java with Eclipse, I see that the output is placed in a text field in the IDE itself, and the console does not appear, as in Visual Studio. This is useful, because even after exiting the program, I still make good use of the text written on it, since it does not erase until I start it again. Is it possible to achieve something similar using Visual Studio? I know that instead of doing
System.Console.WriteLine(str);
I can do
System.Diagnostics.Debug.WriteLine(str);
but this is not quite the same, since you get a lot of “garbage” in the “Output” window, since all the loaded characters, etc.
Even better, can everything be done in the IDE itself when you launch the application, instead of launching the console?
c # visual-studio console
devoured elysium Mar 30 '10 at 2:57 2010-03-30 02:57
source share