Mono Class Library: System.Console Overview | Members

System.Console.OpenStandardOutput Method

Returns the standard output stream. The desired size of the internal buffer for the stream is specified. [Edit]

public static System.IO.Stream OpenStandardOutput (int bufferSize)

Parameters

bufferSize
A int that specifies the desired internal stream buffer size. [Edit]

Returns

A new synchronized System.IO.Stream object that writes to the console. [Edit]

Remarks

Buffering console streams is not required to be supported. If it is not supported, the bufferSize parameter is ignored, and this method behaves identically to Console.OpenStandardOutput(). If buffering is supported, the buffering behavior of the Console class is implementation-specific. [Edit]

Requirements

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