Console Class |
Namespace: System
public static class Console
The Console type exposes the following members.
Name | Description | |
---|---|---|
Write(Boolean) | Writes the text representation of the specified Boolean value to the standard output stream. | |
Write(Char) | Writes the specified Unicode character value to the standard output stream. | |
Write(Char) | Writes the specified array of Unicode characters to the standard output stream. | |
Write(Decimal) | Writes the text representation of the specified Decimal value to the standard output stream. | |
Write(Double) | Writes the text representation of the specified double-precision floating-point value to the standard output stream. | |
Write(Int32) | Writes the text representation of the specified 32-bit signed integer value to the standard output stream. | |
Write(Int64) | Writes the text representation of the specified 64-bit signed integer value to the standard output stream. | |
Write(Object) | Writes the text representation of the specified object to the standard output stream. | |
Write(Single) | Writes the text representation of the specified single-precision floating-point value to the standard output stream. | |
Write(String) | Writes the specified string value to the standard output stream. | |
Write(UInt32) | Writes the text representation of the specified 32-bit unsigned integer value to the standard output stream. | |
Write(UInt64) | Writes the text representation of the specified 64-bit unsigned integer value to the standard output stream. | |
Write(String, Object) | Writes the text representation of the specified object to the standard output stream using the specified format information. | |
Write(String, Object) | Writes the text representation of the specified array of objects to the standard output stream using the specified format information. | |
Write(Char, Int32, Int32) | Writes the specified subarray of Unicode characters to the standard output stream. | |
Write(String, Object, Object) | Writes the text representation of the specified objects to the standard output stream using the specified format information. | |
Write(String, Object, Object, Object) | Writes the text representation of the specified objects to the standard output stream using the specified format information. | |
Write(String, Object, Object, Object, Object) | Writes the text representation of the specified objects and variable-length parameter list to the standard output stream using the specified format information. | |
WriteLine | Writes the current line terminator to the standard output stream. | |
WriteLine(Boolean) | Writes the text representation of the specified Boolean value, followed by the current line terminator, to the standard output stream. | |
WriteLine(Char) | Writes the specified Unicode character, followed by the current line terminator, value to the standard output stream. | |
WriteLine(Char) | Writes the specified array of Unicode characters, followed by the current line terminator, to the standard output stream. | |
WriteLine(Decimal) | Writes the text representation of the specified Decimal value, followed by the current line terminator, to the standard output stream. | |
WriteLine(Double) | Writes the text representation of the specified double-precision floating-point value, followed by the current line terminator, to the standard output stream. | |
WriteLine(Int32) | Writes the text representation of the specified 32-bit signed integer value, followed by the current line terminator, to the standard output stream. | |
WriteLine(Int64) | Writes the text representation of the specified 64-bit signed integer value, followed by the current line terminator, to the standard output stream. | |
WriteLine(Object) | Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream. | |
WriteLine(Single) | Writes the text representation of the specified single-precision floating-point value, followed by the current line terminator, to the standard output stream. | |
WriteLine(String) | Writes the specified string value, followed by the current line terminator, to the standard output stream. | |
WriteLine(UInt32) | Writes the text representation of the specified 32-bit unsigned integer value, followed by the current line terminator, to the standard output stream. | |
WriteLine(UInt64) | Writes the text representation of the specified 64-bit unsigned integer value, followed by the current line terminator, to the standard output stream. | |
WriteLine(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. | |
WriteLine(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. | |
WriteLine(Char, Int32, Int32) | Writes the specified subarray of Unicode characters, followed by the current line terminator, to the standard output stream. | |
WriteLine(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. | |
WriteLine(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. | |
WriteLine(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. |
Name | Description | |
---|---|---|
CancelKeyPress | Occurs when the Control modifier key (CTRL) and C console key (C) are pressed simultaneously (CTRL+C). |