Mono Class Library: System.Console Overview | Members

System.Console.Write Method

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

public static void Write (string format, object arg0, object arg1, object arg2)

Parameters

format
A string that specifies the format string.
arg0
The first object referenced in the format string.
arg1
The second object referenced in the format string.
arg2
The third object referenced in the format string.

Exceptions

TypeReason
ArgumentNullExceptionformat is null.
System.IO.IOExceptionAn I/O error occurred.
FormatException

The format specification in format is invalid.

-or-

The number indicating an argument to be formatted is less than zero, or greater than or equal to the number of provided objects to be formatted (3).

Remarks

Note: If a specified object is not referenced in the format string, it is ignored.

Note: For more information on format strings see the string class overview.

Requirements

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