c# question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asif08
    New Member
    • Feb 2008
    • 4

    c# question

    how can i write a string named output to the console screen?

    string output = "hello world
    this is asif08"

    I want to write output to the screen
  • zimdanen
    New Member
    • Feb 2008
    • 6

    #2
    Console.WriteLi ne(output);

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      This would fall under the category of "Needs to read a basic tutorial", but I'll throw you a little help anyway.
      Try looking at Console.WriteLi ne()

      Comment

      • EhabCsharp
        New Member
        • Feb 2008
        • 2

        #4
        Console.WriteLi ne("Anything to be printed");

        Comment

        Working...