Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Console Methods

The methods of the Console class are listed here. For a complete list of Console class members, see the Console Members topic.

Public Methods

public methodstatic (Shared in Visual Basic)OpenStandardError Overloaded. Acquires the standard error stream.
public methodstatic (Shared in Visual Basic)OpenStandardInput Overloaded. Acquires the standard input stream.
public methodstatic (Shared in Visual Basic)OpenStandardOutput Overloaded. Acquires the standard output stream.
public methodstatic (Shared in Visual Basic)Read Reads the next character from the standard input stream.
public methodstatic (Shared in Visual Basic)ReadLine

Supported by the .NET Compact Framework.

Reads the next line of characters from the standard input stream.
public methodstatic (Shared in Visual Basic)SetError Sets the Error property to the specified TextWriter.
public methodstatic (Shared in Visual Basic)SetIn Sets the In property to the specified TextReader.
public methodstatic (Shared in Visual Basic)SetOut Sets the Out property to the specified TextWriter.
public methodstatic (Shared in Visual Basic)Write

Supported by the .NET Compact Framework.

Overloaded. Writes the specified information to the standard output stream.
public methodstatic (Shared in Visual Basic)WriteLine

Supported by the .NET Compact Framework.

Overloaded. Writes the specified data, followed by the current line terminator, to the standard output stream.

See Also

Console Class | System Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft