Click or drag to resize
ConsoleWrite Method (String, Object, Object, Object, Object, ...)
Writes the text representation of the specified objects and variable-length parameter list to the standard output stream using the specified format information.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
C# does not support methods that use variable length arguments
(varargs).  The compiler automatically resolves calls to this method to the same method
that uses a parameter array.

Parameters

format
Type: SystemString
A composite format string (see Remarks).
arg0
Type: SystemObject
The first object to write using format.
arg1
Type: SystemObject
The second object to write using format.
arg2
Type: SystemObject
The third object to write using format.
arg3
Type: SystemObject
The fourth object to write using format.
Exceptions
ExceptionCondition
IOExceptionAn I/O error occurred.
ArgumentNullExceptionformat is null.
FormatExceptionThe format specification in format is invalid.
See Also