0 out of 1 rated this helpful - Rate this topic

TextWriter.WriteLine Method

Writes data followed by a line terminator to the text string or stream.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method WriteLine() Writes a line terminator to the text string or stream.
Public method WriteLine(Boolean) Writes the text representation of a Boolean value followed by a line terminator to the text string or stream.
Public method WriteLine(Char) Writes a character followed by a line terminator to the text string or stream.
Public method WriteLine(Char[]) Writes an array of characters followed by a line terminator to the text string or stream.
Public method WriteLine(Decimal) Writes the text representation of a decimal value followed by a line terminator to the text string or stream.
Public method WriteLine(Double) Writes the text representation of a 8-byte floating-point value followed by a line terminator to the text string or stream.
Public method WriteLine(Int32) Writes the text representation of a 4-byte signed integer followed by a line terminator to the text string or stream.
Public method WriteLine(Int64) Writes the text representation of an 8-byte signed integer followed by a line terminator to the text string or stream.
Public method WriteLine(Object) Writes the text representation of an object by calling the ToString method on that object, followed by a line terminator to the text string or stream.
Public method WriteLine(Single) Writes the text representation of a 4-byte floating-point value followed by a line terminator to the text string or stream.
Public method WriteLine(String) Writes a string followed by a line terminator to the text string or stream.
Public method WriteLine(UInt32) Writes the text representation of a 4-byte unsigned integer followed by a line terminator to the text string or stream.
Public method WriteLine(UInt64) Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text string or stream.
Public method WriteLine(String, Object) Writes a formatted string and a new line to the text string or stream, using the same semantics as the String.Format(String, Object) method.
Public method WriteLine(String, Object[]) Writes out a formatted string and a new line, using the same semantics as Format.
Public method WriteLine(Char[], Int32, Int32) Writes a subarray of characters followed by a line terminator to the text string or stream.
Public method WriteLine(String, Object, Object) Writes a formatted string and a new line to the text string or stream, using the same semantics as the String.Format(String, Object, Object) method.
Public method WriteLine(String, Object, Object, Object) Writes out a formatted string and a new line, using the same semantics as Format.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.