Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Console.WriteLine Method

 

Writes the specified data, followed by the current line terminator, to the standard output stream.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticWriteLine()

Writes the current line terminator to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(Boolean)

Writes the text representation of the specified Boolean value, followed by the current line terminator, to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(Char)

Writes the specified Unicode character, followed by the current line terminator, value to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(Char[])

Writes the specified array of Unicode characters, followed by the current line terminator, to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(Char[], Int32, Int32)

Writes the specified subarray of Unicode characters, followed by the current line terminator, to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(Decimal)

Writes the text representation of the specified Decimal value, followed by the current line terminator, to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(Double)

Writes the text representation of the specified double-precision floating-point value, followed by the current line terminator, to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(Int32)

Writes the text representation of the specified 32-bit signed integer value, followed by the current line terminator, to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(Int64)

Writes the text representation of the specified 64-bit signed integer value, followed by the current line terminator, to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(Object)

Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(Single)

Writes the text representation of the specified single-precision floating-point value, followed by the current line terminator, to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(String)

Writes the specified string value, followed by the current line terminator, to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(String, Object)

Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream using the specified format information.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(String, Object, Object)

Writes the text representation of the specified objects, followed by the current line terminator, to the standard output stream using the specified format information.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(String, Object, Object, Object)

Writes the text representation of the specified objects, followed by the current line terminator, to the standard output stream using the specified format information.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(String, Object, Object, Object, Object)

Writes the text representation of the specified objects and variable-length parameter list, followed by the current line terminator, to the standard output stream using the specified format information.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(String, Object[])

Writes the text representation of the specified array of objects, followed by the current line terminator, to the standard output stream using the specified format information.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(UInt32)

Writes the text representation of the specified 32-bit unsigned integer value, followed by the current line terminator, to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWriteLine(UInt64)

Writes the text representation of the specified 64-bit unsigned integer value, followed by the current line terminator, to the standard output stream.

The default line terminator is a string whose value is a carriage return followed by a line feed ("\r\n" in C#, or vbCrLf in Visual Basic). You can change the line terminator by setting the TextWriter.NewLine property of the Out property to another string.

Return to top
Show:
© 2016 Microsoft