System.IO.TextWriter.WriteLine Method

Writes the text representation of a 8-byte floating-point value followed by a line terminator to the text string or stream.

Syntax

public virtual void WriteLine (double value)

Parameters

value
The 8-byte floating-point value to write.

Exceptions

TypeReason
System.IO.IOException An I/O error occurred.

Remarks

The TextWriter.FormatProvider property, if not null, specifies the culture-specific formatting. For a list of common I/O tasks, see Common I/O Tasks.

The line terminator is defined by the TextWriter.CoreNewLine field.

Requirements

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