Link to home
Start Free TrialLog in
Avatar of guyneo
guyneo

asked on

C# equivalent of System.out.println in Java

HI Guys,
I am newbie in C#.  So here is a dumb question
In java, I use system.out.println to print out the messages. These are very helpful in knowing whats going on. I am able to do this while running in Netbeans(IDE).
In C# I am using the VisualStudio 2005. I use Console.WriteLine but I don't see any message printed out while executing (debugging) the program from the IDE. Am I missing a window/ in the IDE? or using the wrong command?
thanks
ASKER CERTIFIED SOLUTION
Avatar of burakiewicz
burakiewicz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Interesting.  It doesn't appear in my Output window (only my Immediate)...  =\

I'm actually using VS2010...is this a version difference possibly?
At work here I have 2005 installed, can't check with 2010 now. So - version differences, I believe :)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of guyneo
guyneo

ASKER

Thanks for all the responses Guys. This is certainly taught me some new stuff.
One clarification question.
if I am running in debug mode, and output window is not open.
What would be the Immediate window? what ever window is open at the bottom? Does it print in any other window/tab? or just in the output tab.
the immediate window is its own window.  On the menu under debug>>window>> you should see the different ones immediate,output,breeakpoints