Writes the text representation of an object followed by a line terminator to Console.Out that is set to the system's standard output stream by default.
[Visual Basic] Overloads Public Shared Sub WriteLine( _ ByVal value As Object _ ) [C#] public static void WriteLine( object value ); [C++] public: static void WriteLine( Object* value ); [JScript] public static function WriteLine( value : Object );
Exception Type | Condition |
---|---|
IOException | An I/O error occured. |
The default line terminator is a carriage return followed by a line feed ("\r\n"). The line terminator can be modified via the NewLine property of Console.Out.
Console Class | Console Members | System Namespace | Console.WriteLine Overload List