1 <?xml version="1.0" encoding="utf-8"?><doc>
3 <name>System.Console</name>
6 <member name="T:System.Console">
7 <summary>Represents the standard input, output, and error streams for console applications. This class cannot be inherited.</summary>
9 <member name="P:System.Console.BackgroundColor">
10 <summary>Gets or sets the background color of the console.</summary>
11 <returns>A value that specifies the background color of the console; that is, the color that appears behind each character. The default is black.</returns>
12 <exception cref="T:System.ArgumentException">The color specified in a set operation is not a valid member of <see cref="System.ConsoleColor"></see>.</exception>
13 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
14 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
16 <member name="M:System.Console.Beep">
17 <summary>Plays the sound of a beep through the console speaker.</summary>
18 <exception cref="T:System.Security.HostProtectionException">This method was executed on a server, such as SQL Server, that does not permit access to a user interface.</exception>
20 <member name="M:System.Console.Beep(System.Int32,System.Int32)">
21 <summary>Plays the sound of a beep of a specified frequency and duration through the console speaker.</summary>
22 <param name="frequency">The frequency of the beep, ranging from 37 to 32767 hertz.</param>
23 <param name="duration">The duration of the beep measured in milliseconds.</param>
24 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="frequency">frequency</paramref> is less than 37 or more than 32767 hertz.
26 <paramref name="duration">duration</paramref> is less than or equal to zero.</exception>
27 <exception cref="T:System.Security.HostProtectionException">This method was executed on a server, such as SQL Server, that does not permit access to the console.</exception>
29 <member name="P:System.Console.BufferHeight">
30 <summary>Gets or sets the height of the buffer area.</summary>
31 <returns>The current height, in rows, of the buffer area.</returns>
32 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than or equal to zero.
34 The value in a set operation is greater than or equal to <see cref="System.Int16.MaxValue"></see>.
36 The value in a set operation is less than <see cref="System.Console.WindowTop"></see> + <see cref="System.Console.WindowHeight"></see>.</exception>
37 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
38 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
40 <member name="P:System.Console.BufferWidth">
41 <summary>Gets or sets the width of the buffer area.</summary>
42 <returns>The current width, in columns, of the buffer area.</returns>
43 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than or equal to zero.
45 The value in a set operation is greater than or equal to <see cref="System.Int16.MaxValue"></see>.
47 The value in a set operation is less than <see cref="System.Console.WindowLeft"></see> + <see cref="System.Console.WindowWidth"></see>.</exception>
48 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
49 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
51 <member name="E:System.Console.CancelKeyPress">
52 <summary>Occurs when the <see cref="F:System.ConsoleModifiers.Control"></see> modifier key (Ctrl) and either the <see cref="F:System.ConsoleKey.C"></see> console key (C) or the Break key are pressed simultaneously (Ctrl+C or Ctrl+Break).</summary>
54 <member name="P:System.Console.CapsLock">
55 <summary>Gets a value indicating whether the CAPS LOCK keyboard toggle is turned on or turned off.</summary>
56 <returns>true if CAPS LOCK is turned on; false if CAPS LOCK is turned off.</returns>
58 <member name="M:System.Console.Clear">
59 <summary>Clears the console buffer and corresponding console window of display information.</summary>
60 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
62 <member name="P:System.Console.CursorLeft">
63 <summary>Gets or sets the column position of the cursor within the buffer area.</summary>
64 <returns>The current position, in columns, of the cursor.</returns>
65 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than zero.
67 The value in a set operation is greater than or equal to <see cref="System.Console.BufferWidth"></see>.</exception>
68 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
69 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
71 <member name="P:System.Console.CursorSize">
72 <summary>Gets or sets the height of the cursor within a character cell.</summary>
73 <returns>The size of the cursor expressed as a percentage of the height of a character cell. The property value ranges from 1 to 100.</returns>
74 <exception cref="T:System.ArgumentOutOfRangeException">The value specified in a set operation is less than 1 or greater than 100.</exception>
75 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
76 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
78 <member name="P:System.Console.CursorTop">
79 <summary>Gets or sets the row position of the cursor within the buffer area.</summary>
80 <returns>The current position, in rows, of the cursor.</returns>
81 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than zero.
83 The value in a set operation is greater than or equal to <see cref="System.Console.BufferHeight"></see>.</exception>
84 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
85 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
87 <member name="P:System.Console.CursorVisible">
88 <summary>Gets or sets a value indicating whether the cursor is visible.</summary>
89 <returns>true if the cursor is visible; otherwise, false.</returns>
90 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
91 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
93 <member name="P:System.Console.Error">
94 <summary>Gets the standard error output stream.</summary>
95 <returns>A <see cref="System.IO.TextWriter"></see> that represents the standard error output stream.</returns>
97 <member name="P:System.Console.ForegroundColor">
98 <summary>Gets or sets the foreground color of the console.</summary>
99 <returns>A <see cref="System.ConsoleColor"></see> that specifies the foreground color of the console; that is, the color of each character that is displayed. The default is gray.</returns>
100 <exception cref="T:System.ArgumentException">The color specified in a set operation is not a valid member of <see cref="System.ConsoleColor"></see>.</exception>
101 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
102 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
104 <member name="P:System.Console.In">
105 <summary>Gets the standard input stream.</summary>
106 <returns>A <see cref="System.IO.TextReader"></see> that represents the standard input stream.</returns>
108 <member name="P:System.Console.InputEncoding">
109 <summary>Gets or sets the encoding the console uses to read input.</summary>
110 <returns>The encoding used to read console input.</returns>
111 <exception cref="T:System.ArgumentNullException">The property value in a set operation is null.</exception>
112 <exception cref="T:System.IO.IOException">An error occurred during the execution of this operation.</exception>
113 <exception cref="T:System.Security.SecurityException">Your application does not have permission to perform this operation.</exception>
115 <member name="P:System.Console.IsErrorRedirected">
116 <summary>Gets a value that indicates whether the error output stream has been redirected from the standard error stream.</summary>
117 <returns>true if error output is redirected; otherwise, false.</returns>
119 <member name="P:System.Console.IsInputRedirected">
120 <summary>Gets a value that indicates whether input has been redirected from the standard input stream.</summary>
121 <returns>true if input is redirected; otherwise, false.</returns>
123 <member name="P:System.Console.IsOutputRedirected">
124 <summary>Gets a value that indicates whether output has been redirected from the standard output stream.</summary>
125 <returns>true if output is redirected; otherwise, false.</returns>
127 <member name="P:System.Console.KeyAvailable">
128 <summary>Gets a value indicating whether a key press is available in the input stream.</summary>
129 <returns>true if a key press is available; otherwise, false.</returns>
130 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
131 <exception cref="T:System.InvalidOperationException">Standard input is redirected to a file instead of the keyboard.</exception>
133 <member name="P:System.Console.LargestWindowHeight">
134 <summary>Gets the largest possible number of console window rows, based on the current font and screen resolution.</summary>
135 <returns>The height of the largest possible console window measured in rows.</returns>
137 <member name="P:System.Console.LargestWindowWidth">
138 <summary>Gets the largest possible number of console window columns, based on the current font and screen resolution.</summary>
139 <returns>The width of the largest possible console window measured in columns.</returns>
141 <member name="M:System.Console.MoveBufferArea(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
142 <summary>Copies a specified source area of the screen buffer to a specified destination area.</summary>
143 <param name="sourceLeft">The leftmost column of the source area.</param>
144 <param name="sourceTop">The topmost row of the source area.</param>
145 <param name="sourceWidth">The number of columns in the source area.</param>
146 <param name="sourceHeight">The number of rows in the source area.</param>
147 <param name="targetLeft">The leftmost column of the destination area.</param>
148 <param name="targetTop">The topmost row of the destination area.</param>
149 <exception cref="T:System.ArgumentOutOfRangeException">One or more of the parameters is less than zero.
151 <paramref name="sourceLeft">sourceLeft</paramref> or <paramref name="targetLeft">targetLeft</paramref> is greater than or equal to <see cref="System.Console.BufferWidth"></see>.
153 <paramref name="sourceTop">sourceTop</paramref> or <paramref name="targetTop">targetTop</paramref> is greater than or equal to <see cref="System.Console.BufferHeight"></see>.
155 <paramref name="sourceTop">sourceTop</paramref> + <paramref name="sourceHeight">sourceHeight</paramref> is greater than or equal to <see cref="System.Console.BufferHeight"></see>.
157 <paramref name="sourceLeft">sourceLeft</paramref> + <paramref name="sourceWidth">sourceWidth</paramref> is greater than or equal to <see cref="System.Console.BufferWidth"></see>.</exception>
158 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
159 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
161 <member name="M:System.Console.MoveBufferArea(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Char,System.ConsoleColor,System.ConsoleColor)">
162 <summary>Copies a specified source area of the screen buffer to a specified destination area.</summary>
163 <param name="sourceLeft">The leftmost column of the source area.</param>
164 <param name="sourceTop">The topmost row of the source area.</param>
165 <param name="sourceWidth">The number of columns in the source area.</param>
166 <param name="sourceHeight">The number of rows in the source area.</param>
167 <param name="targetLeft">The leftmost column of the destination area.</param>
168 <param name="targetTop">The topmost row of the destination area.</param>
169 <param name="sourceChar">The character used to fill the source area.</param>
170 <param name="sourceForeColor">The foreground color used to fill the source area.</param>
171 <param name="sourceBackColor">The background color used to fill the source area.</param>
172 <exception cref="T:System.ArgumentOutOfRangeException">One or more of the parameters is less than zero.
174 <paramref name="sourceLeft">sourceLeft</paramref> or <paramref name="targetLeft">targetLeft</paramref> is greater than or equal to <see cref="System.Console.BufferWidth"></see>.
176 <paramref name="sourceTop">sourceTop</paramref> or <paramref name="targetTop">targetTop</paramref> is greater than or equal to <see cref="System.Console.BufferHeight"></see>.
178 <paramref name="sourceTop">sourceTop</paramref> + <paramref name="sourceHeight">sourceHeight</paramref> is greater than or equal to <see cref="System.Console.BufferHeight"></see>.
180 <paramref name="sourceLeft">sourceLeft</paramref> + <paramref name="sourceWidth">sourceWidth</paramref> is greater than or equal to <see cref="System.Console.BufferWidth"></see>.</exception>
181 <exception cref="T:System.ArgumentException">One or both of the color parameters is not a member of the <see cref="System.ConsoleColor"></see> enumeration.</exception>
182 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
183 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
185 <member name="P:System.Console.NumberLock">
186 <summary>Gets a value indicating whether the NUM LOCK keyboard toggle is turned on or turned off.</summary>
187 <returns>true if NUM LOCK is turned on; false if NUM LOCK is turned off.</returns>
189 <member name="M:System.Console.OpenStandardError">
190 <summary>Acquires the standard error stream.</summary>
191 <returns>The standard error stream.</returns>
193 <member name="M:System.Console.OpenStandardError(System.Int32)">
194 <summary>Acquires the standard error stream, which is set to a specified buffer size.</summary>
195 <param name="bufferSize">The internal stream buffer size.</param>
196 <returns>The standard error stream.</returns>
197 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="bufferSize">bufferSize</paramref> is less than or equal to zero.</exception>
199 <member name="M:System.Console.OpenStandardInput">
200 <summary>Acquires the standard input stream.</summary>
201 <returns>The standard input stream.</returns>
203 <member name="M:System.Console.OpenStandardInput(System.Int32)">
204 <summary>Acquires the standard input stream, which is set to a specified buffer size.</summary>
205 <param name="bufferSize">The internal stream buffer size.</param>
206 <returns>The standard input stream.</returns>
207 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="bufferSize">bufferSize</paramref> is less than or equal to zero.</exception>
209 <member name="M:System.Console.OpenStandardOutput">
210 <summary>Acquires the standard output stream.</summary>
211 <returns>The standard output stream.</returns>
213 <member name="M:System.Console.OpenStandardOutput(System.Int32)">
214 <summary>Acquires the standard output stream, which is set to a specified buffer size.</summary>
215 <param name="bufferSize">The internal stream buffer size.</param>
216 <returns>The standard output stream.</returns>
217 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="bufferSize">bufferSize</paramref> is less than or equal to zero.</exception>
219 <member name="P:System.Console.Out">
220 <summary>Gets the standard output stream.</summary>
221 <returns>A <see cref="System.IO.TextWriter"></see> that represents the standard output stream.</returns>
223 <member name="P:System.Console.OutputEncoding">
224 <summary>Gets or sets the encoding the console uses to write output.</summary>
225 <returns>The encoding used to write console output.</returns>
226 <exception cref="T:System.ArgumentNullException">The property value in a set operation is null.</exception>
227 <exception cref="T:System.IO.IOException">An error occurred during the execution of this operation.</exception>
228 <exception cref="T:System.Security.SecurityException">Your application does not have permission to perform this operation.</exception>
230 <member name="M:System.Console.Read">
231 <summary>Reads the next character from the standard input stream.</summary>
232 <returns>The next character from the input stream, or negative one (-1) if there are currently no more characters to be read.</returns>
233 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
235 <member name="M:System.Console.ReadKey">
236 <summary>Obtains the next character or function key pressed by the user. The pressed key is displayed in the console window.</summary>
237 <returns>An object that describes the <see cref="System.ConsoleKey"></see> constant and Unicode character, if any, that correspond to the pressed console key. The <see cref="System.ConsoleKeyInfo"></see> object also describes, in a bitwise combination of <see cref="System.ConsoleModifiers"></see> values, whether one or more Shift, Alt, or Ctrl modifier keys was pressed simultaneously with the console key.</returns>
238 <exception cref="T:System.InvalidOperationException">The <see cref="System.Console.In"></see> property is redirected from some stream other than the console.</exception>
240 <member name="M:System.Console.ReadKey(System.Boolean)">
241 <summary>Obtains the next character or function key pressed by the user. The pressed key is optionally displayed in the console window.</summary>
242 <param name="intercept">Determines whether to display the pressed key in the console window. true to not display the pressed key; otherwise, false.</param>
243 <returns>An object that describes the <see cref="System.ConsoleKey"></see> constant and Unicode character, if any, that correspond to the pressed console key. The <see cref="System.ConsoleKeyInfo"></see> object also describes, in a bitwise combination of <see cref="System.ConsoleModifiers"></see> values, whether one or more Shift, Alt, or Ctrl modifier keys was pressed simultaneously with the console key.</returns>
244 <exception cref="T:System.InvalidOperationException">The <see cref="System.Console.In"></see> property is redirected from some stream other than the console.</exception>
246 <member name="M:System.Console.ReadLine">
247 <summary>Reads the next line of characters from the standard input stream.</summary>
248 <returns>The next line of characters from the input stream, or null if no more lines are available.</returns>
249 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
250 <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string.</exception>
251 <exception cref="T:System.ArgumentOutOfRangeException">The number of characters in the next line of characters is greater than <see cref="System.Int32.MaxValue"></see>.</exception>
253 <member name="M:System.Console.ResetColor">
254 <summary>Sets the foreground and background console colors to their defaults.</summary>
255 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
256 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
258 <member name="M:System.Console.SetBufferSize(System.Int32,System.Int32)">
259 <summary>Sets the height and width of the screen buffer area to the specified values.</summary>
260 <param name="width">The width of the buffer area measured in columns.</param>
261 <param name="height">The height of the buffer area measured in rows.</param>
262 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="height">height</paramref> or <paramref name="width">width</paramref> is less than or equal to zero.
264 <paramref name="height">height</paramref> or <paramref name="width">width</paramref> is greater than or equal to <see cref="System.Int16.MaxValue"></see>.
266 <paramref name="width">width</paramref> is less than <see cref="System.Console.WindowLeft"></see> + <see cref="System.Console.WindowWidth"></see>.
268 <paramref name="height">height</paramref> is less than <see cref="System.Console.WindowTop"></see> + <see cref="System.Console.WindowHeight"></see>.</exception>
269 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
270 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
272 <member name="M:System.Console.SetCursorPosition(System.Int32,System.Int32)">
273 <summary>Sets the position of the cursor.</summary>
274 <param name="left">The column position of the cursor. Columns are numbered from left to right starting at 0.</param>
275 <param name="top">The row position of the cursor. Rows are numbered from top to bottom starting at 0.</param>
276 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="left">left</paramref> or <paramref name="top">top</paramref> is less than zero.
278 <paramref name="left">left</paramref> is greater than or equal to <see cref="System.Console.BufferWidth"></see>.
280 <paramref name="top">top</paramref> is greater than or equal to <see cref="System.Console.BufferHeight"></see>.</exception>
281 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
282 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
284 <member name="M:System.Console.SetError(System.IO.TextWriter)">
285 <summary>Sets the <see cref="P:System.Console.Error"></see> property to the specified <see cref="T:System.IO.TextWriter"></see> object.</summary>
286 <param name="newError">A stream that is the new standard error output.</param>
287 <exception cref="T:System.ArgumentNullException"><paramref name="newError">newError</paramref> is null.</exception>
288 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
290 <member name="M:System.Console.SetIn(System.IO.TextReader)">
291 <summary>Sets the <see cref="P:System.Console.In"></see> property to the specified <see cref="T:System.IO.TextReader"></see> object.</summary>
292 <param name="newIn">A stream that is the new standard input.</param>
293 <exception cref="T:System.ArgumentNullException"><paramref name="newIn">newIn</paramref> is null.</exception>
294 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
296 <member name="M:System.Console.SetOut(System.IO.TextWriter)">
297 <summary>Sets the <see cref="P:System.Console.Out"></see> property to the specified <see cref="T:System.IO.TextWriter"></see> object.</summary>
298 <param name="newOut">A stream that is the new standard output.</param>
299 <exception cref="T:System.ArgumentNullException"><paramref name="newOut">newOut</paramref> is null.</exception>
300 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
302 <member name="M:System.Console.SetWindowPosition(System.Int32,System.Int32)">
303 <summary>Sets the position of the console window relative to the screen buffer.</summary>
304 <param name="left">The column position of the upper left corner of the console window.</param>
305 <param name="top">The row position of the upper left corner of the console window.</param>
306 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="left">left</paramref> or <paramref name="top">top</paramref> is less than zero.
308 <paramref name="left">left</paramref> + <see cref="System.Console.WindowWidth"></see> is greater than <see cref="System.Console.BufferWidth"></see>.
310 <paramref name="top">top</paramref> + <see cref="System.Console.WindowHeight"></see> is greater than <see cref="System.Console.BufferHeight"></see>.</exception>
311 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
312 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
314 <member name="M:System.Console.SetWindowSize(System.Int32,System.Int32)">
315 <summary>Sets the height and width of the console window to the specified values.</summary>
316 <param name="width">The width of the console window measured in columns.</param>
317 <param name="height">The height of the console window measured in rows.</param>
318 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="width">width</paramref> or <paramref name="height">height</paramref> is less than or equal to zero.
320 <paramref name="width">width</paramref> plus <see cref="System.Console.WindowLeft"></see> or <paramref name="height">height</paramref> plus <see cref="System.Console.WindowTop"></see> is greater than or equal to <see cref="System.Int16.MaxValue"></see>.
322 <paramref name="width">width</paramref> or <paramref name="height">height</paramref> is greater than the largest possible window width or height for the current screen resolution and console font.</exception>
323 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
324 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
326 <member name="P:System.Console.Title">
327 <summary>Gets or sets the title to display in the console title bar.</summary>
328 <returns>The string to be displayed in the title bar of the console. The maximum length of the title string is 24500 characters.</returns>
329 <exception cref="T:System.InvalidOperationException">In a get operation, the retrieved title is longer than 24500 characters.</exception>
330 <exception cref="T:System.ArgumentOutOfRangeException">In a set operation, the specified title is longer than 24500 characters.</exception>
331 <exception cref="T:System.ArgumentNullException">In a set operation, the specified title is null.</exception>
332 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
334 <member name="P:System.Console.TreatControlCAsInput">
335 <summary>Gets or sets a value indicating whether the combination of the <see cref="F:System.ConsoleModifiers.Control"></see> modifier key and <see cref="F:System.ConsoleKey.C"></see> console key (Ctrl+C) is treated as ordinary input or as an interruption that is handled by the operating system.</summary>
336 <returns>true if Ctrl+C is treated as ordinary input; otherwise, false.</returns>
337 <exception cref="T:System.IO.IOException">Unable to get or set the input mode of the console input buffer.</exception>
339 <member name="P:System.Console.WindowHeight">
340 <summary>Gets or sets the height of the console window area.</summary>
341 <returns>The height of the console window measured in rows.</returns>
342 <exception cref="T:System.ArgumentOutOfRangeException">The value of the <see cref="System.Console.WindowWidth"></see> property or the value of the <see cref="System.Console.WindowHeight"></see> property is less than or equal to 0.
344 The value of the <see cref="System.Console.WindowHeight"></see> property plus the value of the <see cref="System.Console.WindowTop"></see> property is greater than or equal to <see cref="System.Int16.MaxValue"></see>.
346 The value of the <see cref="System.Console.WindowWidth"></see> property or the value of the <see cref="System.Console.WindowHeight"></see> property is greater than the largest possible window width or height for the current screen resolution and console font.</exception>
347 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
349 <member name="P:System.Console.WindowLeft">
350 <summary>Gets or sets the leftmost position of the console window area relative to the screen buffer.</summary>
351 <returns>The leftmost console window position measured in columns.</returns>
352 <exception cref="T:System.ArgumentOutOfRangeException">In a set operation, the value to be assigned is less than zero.
354 As a result of the assignment, <see cref="System.Console.WindowLeft"></see> plus <see cref="System.Console.WindowWidth"></see> would exceed <see cref="System.Console.BufferWidth"></see>.</exception>
355 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
357 <member name="P:System.Console.WindowTop">
358 <summary>Gets or sets the top position of the console window area relative to the screen buffer.</summary>
359 <returns>The uppermost console window position measured in rows.</returns>
360 <exception cref="T:System.ArgumentOutOfRangeException">In a set operation, the value to be assigned is less than zero.
362 As a result of the assignment, <see cref="System.Console.WindowTop"></see> plus <see cref="System.Console.WindowHeight"></see> would exceed <see cref="System.Console.BufferHeight"></see>.</exception>
363 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
365 <member name="P:System.Console.WindowWidth">
366 <summary>Gets or sets the width of the console window.</summary>
367 <returns>The width of the console window measured in columns.</returns>
368 <exception cref="T:System.ArgumentOutOfRangeException">The value of the <see cref="System.Console.WindowWidth"></see> property or the value of the <see cref="System.Console.WindowHeight"></see> property is less than or equal to 0.
370 The value of the <see cref="System.Console.WindowHeight"></see> property plus the value of the <see cref="System.Console.WindowTop"></see> property is greater than or equal to <see cref="System.Int16.MaxValue"></see>.
372 The value of the <see cref="System.Console.WindowWidth"></see> property or the value of the <see cref="System.Console.WindowHeight"></see> property is greater than the largest possible window width or height for the current screen resolution and console font.</exception>
373 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
375 <member name="M:System.Console.Write(System.String,System.Object,System.Object,System.Object)">
376 <summary>Writes the text representation of the specified objects to the standard output stream using the specified format information.</summary>
377 <param name="format">A composite format string.</param>
378 <param name="arg0">The first object to write using format.</param>
379 <param name="arg1">The second object to write using format.</param>
380 <param name="arg2">The third object to write using format.</param>
381 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
382 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is null.</exception>
383 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
385 <member name="M:System.Console.Write(System.String,System.Object,System.Object)">
386 <summary>Writes the text representation of the specified objects to the standard output stream using the specified format information.</summary>
387 <param name="format">A composite format string.</param>
388 <param name="arg0">The first object to write using format.</param>
389 <param name="arg1">The second object to write using format.</param>
390 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
391 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is null.</exception>
392 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
394 <member name="M:System.Console.Write(System.String,System.Object[])">
395 <summary>Writes the text representation of the specified array of objects to the standard output stream using the specified format information.</summary>
396 <param name="format">A composite format string.</param>
397 <param name="arg">An array of objects to write using format.</param>
398 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
399 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> or <paramref name="arg">arg</paramref> is null.</exception>
400 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
402 <member name="M:System.Console.Write(System.String,System.Object)">
403 <summary>Writes the text representation of the specified object to the standard output stream using the specified format information.</summary>
404 <param name="format">A composite format string.</param>
405 <param name="arg0">An object to write using format.</param>
406 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
407 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is null.</exception>
408 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
410 <member name="M:System.Console.Write(System.UInt64)">
411 <summary>Writes the text representation of the specified 64-bit unsigned integer value to the standard output stream.</summary>
412 <param name="value">The value to write.</param>
413 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
415 <member name="M:System.Console.Write(System.UInt32)">
416 <summary>Writes the text representation of the specified 32-bit unsigned integer value to the standard output stream.</summary>
417 <param name="value">The value to write.</param>
418 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
420 <member name="M:System.Console.Write(System.String)">
421 <summary>Writes the specified string value to the standard output stream.</summary>
422 <param name="value">The value to write.</param>
423 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
425 <member name="M:System.Console.Write(System.Char[],System.Int32,System.Int32)">
426 <summary>Writes the specified subarray of Unicode characters to the standard output stream.</summary>
427 <param name="buffer">An array of Unicode characters.</param>
428 <param name="index">The starting position in buffer.</param>
429 <param name="count">The number of characters to write.</param>
430 <exception cref="T:System.ArgumentNullException"><paramref name="buffer">buffer</paramref> is null.</exception>
431 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index">index</paramref> or <paramref name="count">count</paramref> is less than zero.</exception>
432 <exception cref="T:System.ArgumentException"><paramref name="index">index</paramref> plus <paramref name="count">count</paramref> specify a position that is not within <paramref name="buffer">buffer</paramref>.</exception>
433 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
435 <member name="M:System.Console.Write(System.Object)">
436 <summary>Writes the text representation of the specified object to the standard output stream.</summary>
437 <param name="value">The value to write, or null.</param>
438 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
440 <member name="M:System.Console.Write(System.Single)">
441 <summary>Writes the text representation of the specified single-precision floating-point value to the standard output stream.</summary>
442 <param name="value">The value to write.</param>
443 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
445 <member name="M:System.Console.Write(System.Char)">
446 <summary>Writes the specified Unicode character value to the standard output stream.</summary>
447 <param name="value">The value to write.</param>
448 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
450 <member name="M:System.Console.Write(System.Char[])">
451 <summary>Writes the specified array of Unicode characters to the standard output stream.</summary>
452 <param name="buffer">A Unicode character array.</param>
453 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
455 <member name="M:System.Console.Write(System.Boolean)">
456 <summary>Writes the text representation of the specified Boolean value to the standard output stream.</summary>
457 <param name="value">The value to write.</param>
458 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
460 <member name="M:System.Console.Write(System.Double)">
461 <summary>Writes the text representation of the specified double-precision floating-point value to the standard output stream.</summary>
462 <param name="value">The value to write.</param>
463 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
465 <member name="M:System.Console.Write(System.Int32)">
466 <summary>Writes the text representation of the specified 32-bit signed integer value to the standard output stream.</summary>
467 <param name="value">The value to write.</param>
468 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
470 <member name="M:System.Console.Write(System.Int64)">
471 <summary>Writes the text representation of the specified 64-bit signed integer value to the standard output stream.</summary>
472 <param name="value">The value to write.</param>
473 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
475 <member name="M:System.Console.Write(System.Decimal)">
476 <summary>Writes the text representation of the specified <see cref="T:System.Decimal"></see> value to the standard output stream.</summary>
477 <param name="value">The value to write.</param>
478 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
480 <member name="M:System.Console.WriteLine(System.String,System.Object,System.Object)">
481 <summary>Writes the text representation of the specified objects, followed by the current line terminator, to the standard output stream using the specified format information.</summary>
482 <param name="format">A composite format string.</param>
483 <param name="arg0">The first object to write using format.</param>
484 <param name="arg1">The second object to write using format.</param>
485 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
486 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is null.</exception>
487 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
489 <member name="M:System.Console.WriteLine(System.String)">
490 <summary>Writes the specified string value, followed by the current line terminator, to the standard output stream.</summary>
491 <param name="value">The value to write.</param>
492 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
494 <member name="M:System.Console.WriteLine(System.Char[],System.Int32,System.Int32)">
495 <summary>Writes the specified subarray of Unicode characters, followed by the current line terminator, to the standard output stream.</summary>
496 <param name="buffer">An array of Unicode characters.</param>
497 <param name="index">The starting position in buffer.</param>
498 <param name="count">The number of characters to write.</param>
499 <exception cref="T:System.ArgumentNullException"><paramref name="buffer">buffer</paramref> is null.</exception>
500 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index">index</paramref> or <paramref name="count">count</paramref> is less than zero.</exception>
501 <exception cref="T:System.ArgumentException"><paramref name="index">index</paramref> plus <paramref name="count">count</paramref> specify a position that is not within <paramref name="buffer">buffer</paramref>.</exception>
502 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
504 <member name="M:System.Console.WriteLine(System.String,System.Object[])">
505 <summary>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.</summary>
506 <param name="format">A composite format string.</param>
507 <param name="arg">An array of objects to write using format.</param>
508 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
509 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> or <paramref name="arg">arg</paramref> is null.</exception>
510 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
512 <member name="M:System.Console.WriteLine(System.String,System.Object)">
513 <summary>Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream using the specified format information.</summary>
514 <param name="format">A composite format string.</param>
515 <param name="arg0">An object to write using format.</param>
516 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
517 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is null.</exception>
518 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
520 <member name="M:System.Console.WriteLine(System.UInt64)">
521 <summary>Writes the text representation of the specified 64-bit unsigned integer value, followed by the current line terminator, to the standard output stream.</summary>
522 <param name="value">The value to write.</param>
523 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
525 <member name="M:System.Console.WriteLine(System.UInt32)">
526 <summary>Writes the text representation of the specified 32-bit unsigned integer value, followed by the current line terminator, to the standard output stream.</summary>
527 <param name="value">The value to write.</param>
528 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
530 <member name="M:System.Console.WriteLine(System.Single)">
531 <summary>Writes the text representation of the specified single-precision floating-point value, followed by the current line terminator, to the standard output stream.</summary>
532 <param name="value">The value to write.</param>
533 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
535 <member name="M:System.Console.WriteLine(System.Decimal)">
536 <summary>Writes the text representation of the specified <see cref="T:System.Decimal"></see> value, followed by the current line terminator, to the standard output stream.</summary>
537 <param name="value">The value to write.</param>
538 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
540 <member name="M:System.Console.WriteLine(System.Int64)">
541 <summary>Writes the text representation of the specified 64-bit signed integer value, followed by the current line terminator, to the standard output stream.</summary>
542 <param name="value">The value to write.</param>
543 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
545 <member name="M:System.Console.WriteLine(System.Int32)">
546 <summary>Writes the text representation of the specified 32-bit signed integer value, followed by the current line terminator, to the standard output stream.</summary>
547 <param name="value">The value to write.</param>
548 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
550 <member name="M:System.Console.WriteLine(System.Double)">
551 <summary>Writes the text representation of the specified double-precision floating-point value, followed by the current line terminator, to the standard output stream.</summary>
552 <param name="value">The value to write.</param>
553 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
555 <member name="M:System.Console.WriteLine(System.Char[])">
556 <summary>Writes the specified array of Unicode characters, followed by the current line terminator, to the standard output stream.</summary>
557 <param name="buffer">A Unicode character array.</param>
558 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
560 <member name="M:System.Console.WriteLine(System.Char)">
561 <summary>Writes the specified Unicode character, followed by the current line terminator, value to the standard output stream.</summary>
562 <param name="value">The value to write.</param>
563 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
565 <member name="M:System.Console.WriteLine(System.Boolean)">
566 <summary>Writes the text representation of the specified Boolean value, followed by the current line terminator, to the standard output stream.</summary>
567 <param name="value">The value to write.</param>
568 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
570 <member name="M:System.Console.WriteLine">
571 <summary>Writes the current line terminator to the standard output stream.</summary>
572 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
574 <member name="M:System.Console.WriteLine(System.String,System.Object,System.Object,System.Object)">
575 <summary>Writes the text representation of the specified objects, followed by the current line terminator, to the standard output stream using the specified format information.</summary>
576 <param name="format">A composite format string.</param>
577 <param name="arg0">The first object to write using format.</param>
578 <param name="arg1">The second object to write using format.</param>
579 <param name="arg2">The third object to write using format.</param>
580 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
581 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is null.</exception>
582 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
584 <member name="M:System.Console.WriteLine(System.Object)">
585 <summary>Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.</summary>
586 <param name="value">The value to write.</param>
587 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
589 <member name="T:System.ConsoleCancelEventArgs">
590 <summary>Provides data for the <see cref="E:System.Console.CancelKeyPress"></see> event. This class cannot be inherited.</summary>
592 <member name="P:System.ConsoleCancelEventArgs.Cancel">
593 <summary>Gets or sets a value that indicates whether simultaneously pressing the <see cref="F:System.ConsoleModifiers.Control"></see> modifier key and the <see cref="F:System.ConsoleKey.C"></see> console key (Ctrl+C) or the Ctrl+Break keys terminates the current process. The default is false, which terminates the current process.</summary>
594 <returns>true if the current process should resume when the event handler concludes; false if the current process should terminate. The default value is false; the current process terminates when the event handler returns. If true, the current process continues.</returns>
596 <member name="P:System.ConsoleCancelEventArgs.SpecialKey">
597 <summary>Gets the combination of modifier and console keys that interrupted the current process.</summary>
598 <returns>One of the enumeration values that specifies the key combination that interrupted the current process. There is no default value.</returns>
600 <member name="T:System.ConsoleCancelEventHandler">
601 <summary>Represents the method that will handle the <see cref="E:System.Console.CancelKeyPress"></see> event of a <see cref="T:System.Console"></see>.</summary>
602 <param name="sender">The source of the event.</param>
603 <param name="e">A <see cref="T:System.ConsoleCancelEventArgs"></see> object that contains the event data.</param>
605 <member name="T:System.ConsoleColor">
606 <summary>Specifies constants that define foreground and background colors for the console.</summary>
608 <member name="F:System.ConsoleColor.Black">
609 <summary>The color black.</summary>
612 <member name="F:System.ConsoleColor.Blue">
613 <summary>The color blue.</summary>
616 <member name="F:System.ConsoleColor.Cyan">
617 <summary>The color cyan (blue-green).</summary>
620 <member name="F:System.ConsoleColor.DarkBlue">
621 <summary>The color dark blue.</summary>
624 <member name="F:System.ConsoleColor.DarkCyan">
625 <summary>The color dark cyan (dark blue-green).</summary>
628 <member name="F:System.ConsoleColor.DarkGray">
629 <summary>The color dark gray.</summary>
632 <member name="F:System.ConsoleColor.DarkGreen">
633 <summary>The color dark green.</summary>
636 <member name="F:System.ConsoleColor.DarkMagenta">
637 <summary>The color dark magenta (dark purplish-red).</summary>
640 <member name="F:System.ConsoleColor.DarkRed">
641 <summary>The color dark red.</summary>
644 <member name="F:System.ConsoleColor.DarkYellow">
645 <summary>The color dark yellow (ochre).</summary>
648 <member name="F:System.ConsoleColor.Gray">
649 <summary>The color gray.</summary>
652 <member name="F:System.ConsoleColor.Green">
653 <summary>The color green.</summary>
656 <member name="F:System.ConsoleColor.Magenta">
657 <summary>The color magenta (purplish-red).</summary>
660 <member name="F:System.ConsoleColor.Red">
661 <summary>The color red.</summary>
664 <member name="F:System.ConsoleColor.White">
665 <summary>The color white.</summary>
668 <member name="F:System.ConsoleColor.Yellow">
669 <summary>The color yellow.</summary>
672 <member name="T:System.ConsoleKey">
673 <summary>Specifies the standard keys on a console.</summary>
675 <member name="F:System.ConsoleKey.A">
676 <summary>The A key.</summary>
679 <member name="F:System.ConsoleKey.Add">
680 <summary>The Add key (the addition key on the numeric keypad).</summary>
683 <member name="F:System.ConsoleKey.Applications">
684 <summary>The Application key (Microsoft Natural Keyboard).</summary>
687 <member name="F:System.ConsoleKey.Attention">
688 <summary>The ATTN key.</summary>
691 <member name="F:System.ConsoleKey.B">
692 <summary>The B key.</summary>
695 <member name="F:System.ConsoleKey.Backspace">
696 <summary>The BACKSPACE key.</summary>
699 <member name="F:System.ConsoleKey.BrowserBack">
700 <summary>The Browser Back key (Windows 2000 or later).</summary>
703 <member name="F:System.ConsoleKey.BrowserFavorites">
704 <summary>The Browser Favorites key (Windows 2000 or later).</summary>
707 <member name="F:System.ConsoleKey.BrowserForward">
708 <summary>The Browser Forward key (Windows 2000 or later).</summary>
711 <member name="F:System.ConsoleKey.BrowserHome">
712 <summary>The Browser Home key (Windows 2000 or later).</summary>
715 <member name="F:System.ConsoleKey.BrowserRefresh">
716 <summary>The Browser Refresh key (Windows 2000 or later).</summary>
719 <member name="F:System.ConsoleKey.BrowserSearch">
720 <summary>The Browser Search key (Windows 2000 or later).</summary>
723 <member name="F:System.ConsoleKey.BrowserStop">
724 <summary>The Browser Stop key (Windows 2000 or later).</summary>
727 <member name="F:System.ConsoleKey.C">
728 <summary>The C key.</summary>
731 <member name="F:System.ConsoleKey.Clear">
732 <summary>The CLEAR key.</summary>
735 <member name="F:System.ConsoleKey.CrSel">
736 <summary>The CRSEL (CURSOR SELECT) key.</summary>
739 <member name="F:System.ConsoleKey.D">
740 <summary>The D key.</summary>
743 <member name="F:System.ConsoleKey.D0">
744 <summary>The 0 key.</summary>
747 <member name="F:System.ConsoleKey.D1">
748 <summary>The 1 key.</summary>
751 <member name="F:System.ConsoleKey.D2">
752 <summary>The 2 key.</summary>
755 <member name="F:System.ConsoleKey.D3">
756 <summary>The 3 key.</summary>
759 <member name="F:System.ConsoleKey.D4">
760 <summary>The 4 key.</summary>
763 <member name="F:System.ConsoleKey.D5">
764 <summary>The 5 key.</summary>
767 <member name="F:System.ConsoleKey.D6">
768 <summary>The 6 key.</summary>
771 <member name="F:System.ConsoleKey.D7">
772 <summary>The 7 key.</summary>
775 <member name="F:System.ConsoleKey.D8">
776 <summary>The 8 key.</summary>
779 <member name="F:System.ConsoleKey.D9">
780 <summary>The 9 key.</summary>
783 <member name="F:System.ConsoleKey.Decimal">
784 <summary>The Decimal key (the decimal key on the numeric keypad).</summary>
787 <member name="F:System.ConsoleKey.Delete">
788 <summary>The DEL (DELETE) key.</summary>
791 <member name="F:System.ConsoleKey.Divide">
792 <summary>The Divide key (the division key on the numeric keypad).</summary>
795 <member name="F:System.ConsoleKey.DownArrow">
796 <summary>The DOWN ARROW key.</summary>
799 <member name="F:System.ConsoleKey.E">
800 <summary>The E key.</summary>
803 <member name="F:System.ConsoleKey.End">
804 <summary>The END key.</summary>
807 <member name="F:System.ConsoleKey.Enter">
808 <summary>The ENTER key.</summary>
811 <member name="F:System.ConsoleKey.EraseEndOfFile">
812 <summary>The ERASE EOF key.</summary>
815 <member name="F:System.ConsoleKey.Escape">
816 <summary>The ESC (ESCAPE) key.</summary>
819 <member name="F:System.ConsoleKey.Execute">
820 <summary>The EXECUTE key.</summary>
823 <member name="F:System.ConsoleKey.ExSel">
824 <summary>The EXSEL (EXTEND SELECTION) key.</summary>
827 <member name="F:System.ConsoleKey.F">
828 <summary>The F key.</summary>
831 <member name="F:System.ConsoleKey.F1">
832 <summary>The F1 key.</summary>
835 <member name="F:System.ConsoleKey.F10">
836 <summary>The F10 key.</summary>
839 <member name="F:System.ConsoleKey.F11">
840 <summary>The F11 key.</summary>
843 <member name="F:System.ConsoleKey.F12">
844 <summary>The F12 key.</summary>
847 <member name="F:System.ConsoleKey.F13">
848 <summary>The F13 key.</summary>
851 <member name="F:System.ConsoleKey.F14">
852 <summary>The F14 key.</summary>
855 <member name="F:System.ConsoleKey.F15">
856 <summary>The F15 key.</summary>
859 <member name="F:System.ConsoleKey.F16">
860 <summary>The F16 key.</summary>
863 <member name="F:System.ConsoleKey.F17">
864 <summary>The F17 key.</summary>
867 <member name="F:System.ConsoleKey.F18">
868 <summary>The F18 key.</summary>
871 <member name="F:System.ConsoleKey.F19">
872 <summary>The F19 key.</summary>
875 <member name="F:System.ConsoleKey.F2">
876 <summary>The F2 key.</summary>
879 <member name="F:System.ConsoleKey.F20">
880 <summary>The F20 key.</summary>
883 <member name="F:System.ConsoleKey.F21">
884 <summary>The F21 key.</summary>
887 <member name="F:System.ConsoleKey.F22">
888 <summary>The F22 key.</summary>
891 <member name="F:System.ConsoleKey.F23">
892 <summary>The F23 key.</summary>
895 <member name="F:System.ConsoleKey.F24">
896 <summary>The F24 key.</summary>
899 <member name="F:System.ConsoleKey.F3">
900 <summary>The F3 key.</summary>
903 <member name="F:System.ConsoleKey.F4">
904 <summary>The F4 key.</summary>
907 <member name="F:System.ConsoleKey.F5">
908 <summary>The F5 key.</summary>
911 <member name="F:System.ConsoleKey.F6">
912 <summary>The F6 key.</summary>
915 <member name="F:System.ConsoleKey.F7">
916 <summary>The F7 key.</summary>
919 <member name="F:System.ConsoleKey.F8">
920 <summary>The F8 key.</summary>
923 <member name="F:System.ConsoleKey.F9">
924 <summary>The F9 key.</summary>
927 <member name="F:System.ConsoleKey.G">
928 <summary>The G key.</summary>
931 <member name="F:System.ConsoleKey.H">
932 <summary>The H key.</summary>
935 <member name="F:System.ConsoleKey.Help">
936 <summary>The HELP key.</summary>
939 <member name="F:System.ConsoleKey.Home">
940 <summary>The HOME key.</summary>
943 <member name="F:System.ConsoleKey.I">
944 <summary>The I key.</summary>
947 <member name="F:System.ConsoleKey.Insert">
948 <summary>The INS (INSERT) key.</summary>
951 <member name="F:System.ConsoleKey.J">
952 <summary>The J key.</summary>
955 <member name="F:System.ConsoleKey.K">
956 <summary>The K key.</summary>
959 <member name="F:System.ConsoleKey.L">
960 <summary>The L key.</summary>
963 <member name="F:System.ConsoleKey.LaunchApp1">
964 <summary>The Start Application 1 key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
967 <member name="F:System.ConsoleKey.LaunchApp2">
968 <summary>The Start Application 2 key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
971 <member name="F:System.ConsoleKey.LaunchMail">
972 <summary>The Start Mail key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
975 <member name="F:System.ConsoleKey.LaunchMediaSelect">
976 <summary>The Select Media key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
979 <member name="F:System.ConsoleKey.LeftArrow">
980 <summary>The LEFT ARROW key.</summary>
983 <member name="F:System.ConsoleKey.LeftWindows">
984 <summary>The left Windows logo key (Microsoft Natural Keyboard).</summary>
987 <member name="F:System.ConsoleKey.M">
988 <summary>The M key.</summary>
991 <member name="F:System.ConsoleKey.MediaNext">
992 <summary>The Media Next Track key (Windows 2000 or later).</summary>
995 <member name="F:System.ConsoleKey.MediaPlay">
996 <summary>The Media Play/Pause key (Windows 2000 or later).</summary>
999 <member name="F:System.ConsoleKey.MediaPrevious">
1000 <summary>The Media Previous Track key (Windows 2000 or later).</summary>
1003 <member name="F:System.ConsoleKey.MediaStop">
1004 <summary>The Media Stop key (Windows 2000 or later).</summary>
1007 <member name="F:System.ConsoleKey.Multiply">
1008 <summary>The Multiply key (the multiplication key on the numeric keypad).</summary>
1011 <member name="F:System.ConsoleKey.N">
1012 <summary>The N key.</summary>
1015 <member name="F:System.ConsoleKey.NoName">
1016 <summary>A constant reserved for future use.</summary>
1019 <member name="F:System.ConsoleKey.NumPad0">
1020 <summary>The 0 key on the numeric keypad.</summary>
1023 <member name="F:System.ConsoleKey.NumPad1">
1024 <summary>The 1 key on the numeric keypad.</summary>
1027 <member name="F:System.ConsoleKey.NumPad2">
1028 <summary>The 2 key on the numeric keypad.</summary>
1031 <member name="F:System.ConsoleKey.NumPad3">
1032 <summary>The 3 key on the numeric keypad.</summary>
1035 <member name="F:System.ConsoleKey.NumPad4">
1036 <summary>The 4 key on the numeric keypad.</summary>
1039 <member name="F:System.ConsoleKey.NumPad5">
1040 <summary>The 5 key on the numeric keypad.</summary>
1043 <member name="F:System.ConsoleKey.NumPad6">
1044 <summary>The 6 key on the numeric keypad.</summary>
1047 <member name="F:System.ConsoleKey.NumPad7">
1048 <summary>The 7 key on the numeric keypad.</summary>
1051 <member name="F:System.ConsoleKey.NumPad8">
1052 <summary>The 8 key on the numeric keypad.</summary>
1055 <member name="F:System.ConsoleKey.NumPad9">
1056 <summary>The 9 key on the numeric keypad.</summary>
1059 <member name="F:System.ConsoleKey.O">
1060 <summary>The O key.</summary>
1063 <member name="F:System.ConsoleKey.Oem1">
1064 <summary>The OEM 1 key (OEM specific).</summary>
1067 <member name="F:System.ConsoleKey.Oem102">
1068 <summary>The OEM 102 key (OEM specific).</summary>
1071 <member name="F:System.ConsoleKey.Oem2">
1072 <summary>The OEM 2 key (OEM specific).</summary>
1075 <member name="F:System.ConsoleKey.Oem3">
1076 <summary>The OEM 3 key (OEM specific).</summary>
1079 <member name="F:System.ConsoleKey.Oem4">
1080 <summary>The OEM 4 key (OEM specific).</summary>
1083 <member name="F:System.ConsoleKey.Oem5">
1084 <summary>The OEM 5 (OEM specific).</summary>
1087 <member name="F:System.ConsoleKey.Oem6">
1088 <summary>The OEM 6 key (OEM specific).</summary>
1091 <member name="F:System.ConsoleKey.Oem7">
1092 <summary>The OEM 7 key (OEM specific).</summary>
1095 <member name="F:System.ConsoleKey.Oem8">
1096 <summary>The OEM 8 key (OEM specific).</summary>
1099 <member name="F:System.ConsoleKey.OemClear">
1100 <summary>The CLEAR key (OEM specific).</summary>
1103 <member name="F:System.ConsoleKey.OemComma">
1104 <summary>The OEM Comma key on any country/region keyboard (Windows 2000 or later).</summary>
1107 <member name="F:System.ConsoleKey.OemMinus">
1108 <summary>The OEM Minus key on any country/region keyboard (Windows 2000 or later).</summary>
1111 <member name="F:System.ConsoleKey.OemPeriod">
1112 <summary>The OEM Period key on any country/region keyboard (Windows 2000 or later).</summary>
1115 <member name="F:System.ConsoleKey.OemPlus">
1116 <summary>The OEM Plus key on any country/region keyboard (Windows 2000 or later).</summary>
1119 <member name="F:System.ConsoleKey.P">
1120 <summary>The P key.</summary>
1123 <member name="F:System.ConsoleKey.Pa1">
1124 <summary>The PA1 key.</summary>
1127 <member name="F:System.ConsoleKey.Packet">
1128 <summary>The PACKET key (used to pass Unicode characters with keystrokes).</summary>
1131 <member name="F:System.ConsoleKey.PageDown">
1132 <summary>The PAGE DOWN key.</summary>
1135 <member name="F:System.ConsoleKey.PageUp">
1136 <summary>The PAGE UP key.</summary>
1139 <member name="F:System.ConsoleKey.Pause">
1140 <summary>The PAUSE key.</summary>
1143 <member name="F:System.ConsoleKey.Play">
1144 <summary>The PLAY key.</summary>
1147 <member name="F:System.ConsoleKey.Print">
1148 <summary>The PRINT key.</summary>
1151 <member name="F:System.ConsoleKey.PrintScreen">
1152 <summary>The PRINT SCREEN key.</summary>
1155 <member name="F:System.ConsoleKey.Process">
1156 <summary>The IME PROCESS key.</summary>
1159 <member name="F:System.ConsoleKey.Q">
1160 <summary>The Q key.</summary>
1163 <member name="F:System.ConsoleKey.R">
1164 <summary>The R key.</summary>
1167 <member name="F:System.ConsoleKey.RightArrow">
1168 <summary>The RIGHT ARROW key.</summary>
1171 <member name="F:System.ConsoleKey.RightWindows">
1172 <summary>The right Windows logo key (Microsoft Natural Keyboard).</summary>
1175 <member name="F:System.ConsoleKey.S">
1176 <summary>The S key.</summary>
1179 <member name="F:System.ConsoleKey.Select">
1180 <summary>The SELECT key.</summary>
1183 <member name="F:System.ConsoleKey.Separator">
1184 <summary>The Separator key.</summary>
1187 <member name="F:System.ConsoleKey.Sleep">
1188 <summary>The Computer Sleep key.</summary>
1191 <member name="F:System.ConsoleKey.Spacebar">
1192 <summary>The SPACEBAR key.</summary>
1195 <member name="F:System.ConsoleKey.Subtract">
1196 <summary>The Subtract key (the subtraction key on the numeric keypad).</summary>
1199 <member name="F:System.ConsoleKey.T">
1200 <summary>The T key.</summary>
1203 <member name="F:System.ConsoleKey.Tab">
1204 <summary>The TAB key.</summary>
1207 <member name="F:System.ConsoleKey.U">
1208 <summary>The U key.</summary>
1211 <member name="F:System.ConsoleKey.UpArrow">
1212 <summary>The UP ARROW key.</summary>
1215 <member name="F:System.ConsoleKey.V">
1216 <summary>The V key.</summary>
1219 <member name="F:System.ConsoleKey.VolumeDown">
1220 <summary>The Volume Down key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
1223 <member name="F:System.ConsoleKey.VolumeMute">
1224 <summary>The Volume Mute key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
1227 <member name="F:System.ConsoleKey.VolumeUp">
1228 <summary>The Volume Up key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
1231 <member name="F:System.ConsoleKey.W">
1232 <summary>The W key.</summary>
1235 <member name="F:System.ConsoleKey.X">
1236 <summary>The X key.</summary>
1239 <member name="F:System.ConsoleKey.Y">
1240 <summary>The Y key.</summary>
1243 <member name="F:System.ConsoleKey.Z">
1244 <summary>The Z key.</summary>
1247 <member name="F:System.ConsoleKey.Zoom">
1248 <summary>The ZOOM key.</summary>
1251 <member name="T:System.ConsoleKeyInfo">
1252 <summary>Describes the console key that was pressed, including the character represented by the console key and the state of the SHIFT, ALT, and CTRL modifier keys.</summary>
1254 <member name="M:System.ConsoleKeyInfo.#ctor(System.Char,System.ConsoleKey,System.Boolean,System.Boolean,System.Boolean)">
1255 <summary>Initializes a new instance of the <see cref="T:System.ConsoleKeyInfo"></see> structure using the specified character, console key, and modifier keys.</summary>
1256 <param name="keyChar">The Unicode character that corresponds to the key parameter.</param>
1257 <param name="key">The console key that corresponds to the keyChar parameter.</param>
1258 <param name="shift">true to indicate that a SHIFT key was pressed; otherwise, false.</param>
1259 <param name="alt">true to indicate that an ALT key was pressed; otherwise, false.</param>
1260 <param name="control">true to indicate that a CTRL key was pressed; otherwise, false.</param>
1261 <exception cref="T:System.ArgumentOutOfRangeException">The numeric value of the <paramref name="key">key</paramref> parameter is less than 0 or greater than 255.</exception>
1263 <member name="M:System.ConsoleKeyInfo.Equals(System.ConsoleKeyInfo)">
1264 <summary>Gets a value indicating whether the specified <see cref="T:System.ConsoleKeyInfo"></see> object is equal to the current <see cref="T:System.ConsoleKeyInfo"></see> object.</summary>
1265 <param name="obj">An object to compare to the current <see cref="T:System.ConsoleKeyInfo"></see> object.</param>
1266 <returns>true if <paramref name="obj">obj</paramref> is equal to the current <see cref="System.ConsoleKeyInfo"></see> object; otherwise, false.</returns>
1268 <member name="M:System.ConsoleKeyInfo.Equals(System.Object)">
1269 <summary>Gets a value indicating whether the specified object is equal to the current <see cref="T:System.ConsoleKeyInfo"></see> object.</summary>
1270 <param name="value">An object to compare to the current <see cref="T:System.ConsoleKeyInfo"></see> object.</param>
1271 <returns>true if <paramref name="value">value</paramref> is a <see cref="System.ConsoleKeyInfo"></see> object and is equal to the current <see cref="System.ConsoleKeyInfo"></see> object; otherwise, false.</returns>
1273 <member name="M:System.ConsoleKeyInfo.GetHashCode">
1274 <summary>Returns the hash code for the current <see cref="T:System.ConsoleKeyInfo"></see> object.</summary>
1275 <returns>A 32-bit signed integer hash code.</returns>
1277 <member name="P:System.ConsoleKeyInfo.Key">
1278 <summary>Gets the console key represented by the current <see cref="T:System.ConsoleKeyInfo"></see> object.</summary>
1279 <returns>A value that identifies the console key that was pressed.</returns>
1281 <member name="P:System.ConsoleKeyInfo.KeyChar">
1282 <summary>Gets the Unicode character represented by the current <see cref="T:System.ConsoleKeyInfo"></see> object.</summary>
1283 <returns>An object that corresponds to the console key represented by the current <see cref="System.ConsoleKeyInfo"></see> object.</returns>
1285 <member name="P:System.ConsoleKeyInfo.Modifiers">
1286 <summary>Gets a bitwise combination of <see cref="T:System.ConsoleModifiers"></see> values that specifies one or more modifier keys pressed simultaneously with the console key.</summary>
1287 <returns>A bitwise combination of the enumeration values. There is no default value.</returns>
1289 <member name="M:System.ConsoleKeyInfo.op_Equality(System.ConsoleKeyInfo,System.ConsoleKeyInfo)">
1290 <summary>Indicates whether the specified <see cref="T:System.ConsoleKeyInfo"></see> objects are equal.</summary>
1291 <param name="a">The first object to compare.</param>
1292 <param name="b">The second object to compare.</param>
1293 <returns>true if <paramref name="a">a</paramref> is equal to <paramref name="b">b</paramref>; otherwise, false.</returns>
1295 <member name="M:System.ConsoleKeyInfo.op_Inequality(System.ConsoleKeyInfo,System.ConsoleKeyInfo)">
1296 <summary>Indicates whether the specified <see cref="T:System.ConsoleKeyInfo"></see> objects are not equal.</summary>
1297 <param name="a">The first object to compare.</param>
1298 <param name="b">The second object to compare.</param>
1299 <returns>true if <paramref name="a">a</paramref> is not equal to <paramref name="b">b</paramref>; otherwise, false.</returns>
1301 <member name="T:System.ConsoleModifiers">
1302 <summary>Represents the SHIFT, ALT, and CTRL modifier keys on a keyboard.</summary>
1304 <member name="F:System.ConsoleModifiers.Alt">
1305 <summary>The left or right ALT modifier key.</summary>
1308 <member name="F:System.ConsoleModifiers.Control">
1309 <summary>The left or right CTRL modifier key.</summary>
1312 <member name="F:System.ConsoleModifiers.Shift">
1313 <summary>The left or right SHIFT modifier key.</summary>
1316 <member name="T:System.ConsoleSpecialKey">
1317 <summary>Specifies combinations of modifier and console keys that can interrupt the current process.</summary>
1319 <member name="F:System.ConsoleSpecialKey.ControlBreak">
1320 <summary>The <see cref="F:System.ConsoleModifiers.Control"></see> modifier key plus the BREAK console key.</summary>
1323 <member name="F:System.ConsoleSpecialKey.ControlC">
1324 <summary>The <see cref="F:System.ConsoleModifiers.Control"></see> modifier key plus the <see cref="F:System.ConsoleKey.C"></see> console key.</summary>