System.Console.Error Property

Gets the standard error output stream.

Syntax

public static System.IO.TextWriter Error { get; }

Value

A synchronized System.IO.TextWriter object where error output is sent.

Remarks

This property is set to the standard error stream by default. This property can be set to another stream with the Console.SetError(System.IO.TextWriter) method.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0