Click or drag to resize
ConsoleWrite Method (String, Object)
Writes the text representation of the specified array of objects to the standard output stream using the specified format information.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static void Write(
	string format,
	params Object[] arg
)

Parameters

format
Type: SystemString
A composite format string (see Remarks).
arg
Type: SystemObject
An array of objects to write using format.
Exceptions
ExceptionCondition
IOExceptionAn I/O error occurred.
ArgumentNullExceptionformat or arg is null.
FormatExceptionThe format specification in format is invalid.
See Also