Mono Class Library: System.Console Overview | Members

System.Console.Write Method

Writes a specified string to the Console.OutSystem.IO.TextWriter .

public static void Write (string value)

Parameters

value
The string to write. If value is null, the string.Empty string is written.

Exceptions

TypeReason
System.IO.IOExceptionAn I/O error occurred.

Remarks

This version of Console.Write(string, object) is equivalent to Console.Out.Write( value ).

Note: If specified value is null , nothing is written to the output stream.

Requirements

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