[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Console.WriteLine

Posted on 2007-07-19
4
Medium Priority
?
147 Views
Last Modified: 2010-04-23
Experts,
What does "Console.WriteLine" do? What are its usages? And if i have it in a class, then how do i make use of its output?
0
Comment
Question by:feesu
  • 2
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
Solar_Flare earned 500 total points
ID: 19527654
in a console application it will ouput the characters.

in a windows forms app during debugging it will output the characters to the Output window (Debug>Windows>Output)
0
 

Author Comment

by:feesu
ID: 19527663
So if i've got a class that writes some output to the console, do i have to change it to something else such as ruturn string value so that i use the output of that function or class? cuz i need to make use of the class's function!
0
 
LVL 15

Expert Comment

by:Solar_Flare
ID: 19527906
yes, if you need to use the resulting string then don't use console.writeline, return a string from that class or something like that
0
 

Author Comment

by:feesu
ID: 19530675
thank you!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month18 days, 1 hour left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question