Reputation: 2650
In Eclipse, when a program is run the output is displayed in a tab in the bottom portion of the screen. Is there any way to do this in Visual Studio?
For example if my program prints Hello World
I want it to show Hello World
in some sort of console tab instead of opening up in a totally different window.
Upvotes: 3
Views: 1447
Reputation: 18290
Visual Studio also have Output Panel
, where you can view debug process and console output etc.
you can access this from View Menu -> Output
or Debug Menu -> Windows -> Output
. Debug menu will let you to see the printed console output while you are debugging or running the program.
or using keyboard shortcut Ctrl + W,O.
To print some thing in output windows use System.Diagnostics.Debug.WriteLine()
or System.Diagnostics.Debug.Write()
methods.
Upvotes: 2