Console Methods
.NET Framework 2.0
| Name | Description | |
|---|---|---|
| Beep | Overloaded. Plays the sound of a beep through the console speaker. |
| Clear | Clears the console buffer and corresponding console window of display information. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| MoveBufferArea | Overloaded. Copies a specified source area of the screen buffer to a specified destination area. |
| OpenStandardError | Overloaded. Acquires the standard error stream. |
| OpenStandardInput | Overloaded. Acquires the standard input stream. |
| OpenStandardOutput | Overloaded. Acquires the standard output stream. |
| Read | Reads the next character from the standard input stream. |
| ReadKey | Overloaded. Obtains the next character or function key pressed by the user. |
| ReadLine | Reads the next line of characters from the standard input stream. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ResetColor | Sets the foreground and background console colors to their defaults. |
| SetBufferSize | Sets the height and width of the screen buffer area to the specified values. |
| SetCursorPosition | Sets the position of the cursor. |
| SetError | Sets the Error property to the specified TextWriter object. |
| SetIn | Sets the In property to the specified TextReader object. |
| SetOut | Sets the Out property to the specified TextWriter object. |
| SetWindowPosition | Sets the position of the console window relative to the screen buffer. |
| SetWindowSize | Sets the height and width of the console window to the specified values. |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Write | Overloaded. Writes the text representation of the specified value or values to the standard output stream. |
| WriteLine | Overloaded. Writes the specified data, followed by the current line terminator, to the standard output stream. |