.NET Framework Class Library
Console..::.WriteLine Method

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

Overload List

  NameDescription
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteLine()()()Writes the current line terminator to the standard output stream.
Public methodStatic memberWriteLine(Boolean)Writes the text representation of the specified Boolean value, followed by the current line terminator, to the standard output stream.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteLine(Char)Writes the specified Unicode character, followed by the current line terminator, value to the standard output stream.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteLine(array<Char>[]()[])Writes the specified array of Unicode characters, followed by the current line terminator, to the standard output stream.
Public methodStatic memberWriteLine(Decimal)Writes the text representation of the specified Decimal value, followed by the current line terminator, to the standard output stream.
Public methodStatic memberWriteLine(Double)Writes the text representation of the specified double-precision floating-point value, followed by the current line terminator, to the standard output stream.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteLine(Int32)Writes the text representation of the specified 32-bit signed integer value, followed by the current line terminator, to the standard output stream.
Public methodStatic memberWriteLine(Int64)Writes the text representation of the specified 64-bit signed integer value, followed by the current line terminator, to the standard output stream.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteLine(Object)Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.
Public methodStatic memberWriteLine(Single)Writes the text representation of the specified single-precision floating-point value, followed by the current line terminator, to the standard output stream.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteLine(String)Writes the specified string value, followed by the current line terminator, to the standard output stream.
Public methodStatic memberWriteLine(UInt32)Writes the text representation of the specified 32-bit unsigned integer value, followed by the current line terminator, to the standard output stream.
Public methodStatic memberWriteLine(UInt64)Writes the text representation of the specified 64-bit unsigned integer value, followed by the current line terminator, to the standard output stream.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteLine(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteLine(String, array<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.
Public methodStatic memberWriteLine(array<Char>[]()[], Int32, Int32)Writes the specified subarray of Unicode characters, followed by the current line terminator, to the standard output stream.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteLine(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.
Public methodStatic memberSupported by the .NET Compact FrameworkSupported by the XNA FrameworkWriteLine(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.
Public methodStatic memberWriteLine(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.
Top
See Also

Reference

Tags : outtext


Community Content

LarsOutzen
Writing more than 2044 0x00 char's halt the thread for infinity

var s = string.Empty;

for (int i = 0; i < 10000; i++) s += (char) 0x00;

Console.WriteLine(s); // "Break all" = Pause, breaks here?

Could this be a security issue? E.g. a possible ASP.NET DoS attack...

Tags : bug

Page view tracker