writing to stderr, standard error, console

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • seannakasone@yahoo.com

    writing to stderr, standard error, console

    To write to stdout, i do this:

    System.Console. WriteLine("the quick brown fox");

    How do you write to stderr?

  • seannakasone@yahoo.com

    #2
    Re: writing to stderr, standard error, console

    oops never mind, i figured it out.
    TextWriter errorWriter = Console.Error;
    errorWriter.Wri teLine("the quick brown fox");

    Comment

    Working...