Mono Class Library: System.Console Overview | Members

System.Console.WriteLine Method

Writes a character followed by a line terminator to the Console.OutSystem.IO.TextWriter .

public static void WriteLine (char value)

Parameters

value
The Unicode character to write to the text stream.

Exceptions

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

Remarks

This version of Console.WriteLine is equivalent to Console.Out.WriteLine( value ).

The default line terminator is the value of the Environment.NewLine property. The line terminator can be set using the System.IO.TextWriter.NewLine property of the Console.Out stream.

Requirements

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