Mono Class Library: System.Console Overview | Members

System.Console.WriteLine Method

Writes the text representation of a specified double followed by a line terminator to the Console.OutSystem.IO.TextWriter .

public static void WriteLine (double value)

Parameters

value
The double to write.

Exceptions

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

Remarks

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

The default line terminator is the value of theEnvironment.NewLine property. The line terminator can be set using theSystem.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