Console Methods

 

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticBeep()

Plays the sound of a beep through the console speaker.

System_CAPS_pubmethodSystem_CAPS_staticBeep(Int32, Int32)

Plays the sound of a beep of a specified frequency and duration through the console speaker.

System_CAPS_pubmethodSystem_CAPS_staticClear()

Clears the console buffer and corresponding console window of display information.

System_CAPS_pubmethodSystem_CAPS_staticMoveBufferArea(Int32, Int32, Int32, Int32, Int32, Int32)

Copies a specified source area of the screen buffer to a specified destination area.

System_CAPS_pubmethodSystem_CAPS_staticMoveBufferArea(Int32, Int32, Int32, Int32, Int32, Int32, Char, ConsoleColor, ConsoleColor)

Copies a specified source area of the screen buffer to a specified destination area.

System_CAPS_pubmethodSystem_CAPS_staticOpenStandardError()

Acquires the standard error stream.

System_CAPS_pubmethodSystem_CAPS_staticOpenStandardError(Int32)

Acquires the standard error stream, which is set to a specified buffer size.

System_CAPS_pubmethodSystem_CAPS_staticOpenStandardInput()

Acquires the standard input stream.

System_CAPS_pubmethodSystem_CAPS_staticOpenStandardInput(Int32)

Acquires the standard input stream, which is set to a specified buffer size.

System_CAPS_pubmethodSystem_CAPS_staticOpenStandardOutput()

Acquires the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticOpenStandardOutput(Int32)

Acquires the standard output stream, which is set to a specified buffer size.

System_CAPS_pubmethodSystem_CAPS_staticRead()

Reads the next character from the standard input stream.

System_CAPS_pubmethodSystem_CAPS_staticReadKey()

Obtains the next character or function key pressed by the user. The pressed key is displayed in the console window.

System_CAPS_pubmethodSystem_CAPS_staticReadKey(Boolean)

Obtains the next character or function key pressed by the user. The pressed key is optionally displayed in the console window.

System_CAPS_pubmethodSystem_CAPS_staticReadLine()

Reads the next line of characters from the standard input stream.

System_CAPS_pubmethodSystem_CAPS_staticResetColor()

Sets the foreground and background console colors to their defaults.

System_CAPS_pubmethodSystem_CAPS_staticSetBufferSize(Int32, Int32)

Sets the height and width of the screen buffer area to the specified values.

System_CAPS_pubmethodSystem_CAPS_staticSetCursorPosition(Int32, Int32)

Sets the position of the cursor.

System_CAPS_pubmethodSystem_CAPS_staticSetError(TextWriter)

Sets the Error property to the specified TextWriter object.

System_CAPS_pubmethodSystem_CAPS_staticSetIn(TextReader)

Sets the In property to the specified TextReader object.

System_CAPS_pubmethodSystem_CAPS_staticSetOut(TextWriter)

Sets the Out property to the specified TextWriter object.

System_CAPS_pubmethodSystem_CAPS_staticSetWindowPosition(Int32, Int32)

Sets the position of the console window relative to the screen buffer.

System_CAPS_pubmethodSystem_CAPS_staticSetWindowSize(Int32, Int32)

Sets the height and width of the console window to the specified values.

System_CAPS_pubmethodSystem_CAPS_staticWrite(Boolean)

Writes the text representation of the specified Boolean value to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWrite(Char)

Writes the specified Unicode character value to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWrite(Char[])

Writes the specified array of Unicode characters to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWrite(Char[], Int32, Int32)

Writes the specified subarray of Unicode characters to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWrite(Decimal)

Writes the text representation of the specified Decimal value to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWrite(Double)

Writes the text representation of the specified double-precision floating-point value to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWrite(Int32)

Writes the text representation of the specified 32-bit signed integer value to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWrite(Int64)

Writes the text representation of the specified 64-bit signed integer value to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWrite(Object)

Writes the text representation of the specified object to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWrite(Single)

Writes the text representation of the specified single-precision floating-point value to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWrite(String)

Writes the specified string value to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWrite(String, Object)

Writes the text representation of the specified object to the standard output stream using the specified format information.

System_CAPS_pubmethodSystem_CAPS_staticWrite(String, Object, Object)

Writes the text representation of the specified objects to the standard output stream using the specified format information.

System_CAPS_pubmethodSystem_CAPS_staticWrite(String, Object, Object, Object)

Writes the text representation of the specified objects to the standard output stream using the specified format information.

System_CAPS_pubmethodSystem_CAPS_staticWrite(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.

System_CAPS_pubmethodSystem_CAPS_staticWrite(String, Object[])

Writes the text representation of the specified array of objects to the standard output stream using the specified format information.

System_CAPS_pubmethodSystem_CAPS_staticWrite(UInt32)

Writes the text representation of the specified 32-bit unsigned integer value to the standard output stream.

System_CAPS_pubmethodSystem_CAPS_staticWrite(UInt64)

Writes the text representation of the specified 64-bit unsigned integer value to the standard output stream.

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.

Return to top
Show: