1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Console</name>
7 <member name="T:System.Console">
8 <summary>Represents the standard input, output, and error streams for console applications. This class cannot be inherited.</summary>
10 <member name="E:System.Console.CancelKeyPress">
11 <summary>Occurs when the <see cref="F:System.ConsoleModifiers.Control" /> modifier key (Ctrl) and either the <see cref="F:System.ConsoleKey.C" /> console key (C) or the Break key are pressed simultaneously (Ctrl+C or Ctrl+Break).</summary>
13 <member name="M:System.Console.Beep">
14 <summary>Plays the sound of a beep through the console speaker.</summary>
15 <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>
17 <member name="M:System.Console.Beep(System.Int32,System.Int32)">
18 <summary>Plays the sound of a beep of a specified frequency and duration through the console speaker.</summary>
19 <param name="frequency">The frequency of the beep, ranging from 37 to 32767 hertz.</param>
20 <param name="duration">The duration of the beep measured in milliseconds.</param>
21 <exception cref="T:System.ArgumentOutOfRangeException">
22 <paramref name="frequency" /> is less than 37 or more than 32767 hertz.
26 <paramref name="duration" /> 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>
28 <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows.</exception>
30 <member name="M:System.Console.Clear">
31 <summary>Clears the console buffer and corresponding console window of display information.</summary>
32 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
34 <member name="M:System.Console.GetCursorPosition">
35 <summary>Gets the position of the cursor.</summary>
36 <returns>The column and row position of the cursor.</returns>
38 <member name="M:System.Console.MoveBufferArea(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
39 <summary>Copies a specified source area of the screen buffer to a specified destination area.</summary>
40 <param name="sourceLeft">The leftmost column of the source area.</param>
41 <param name="sourceTop">The topmost row of the source area.</param>
42 <param name="sourceWidth">The number of columns in the source area.</param>
43 <param name="sourceHeight">The number of rows in the source area.</param>
44 <param name="targetLeft">The leftmost column of the destination area.</param>
45 <param name="targetTop">The topmost row of the destination area.</param>
46 <exception cref="T:System.ArgumentOutOfRangeException">One or more of the parameters is less than zero.
50 <paramref name="sourceLeft" /> or <paramref name="targetLeft" /> is greater than or equal to <see cref="P:System.Console.BufferWidth" />.
54 <paramref name="sourceTop" /> or <paramref name="targetTop" /> is greater than or equal to <see cref="P:System.Console.BufferHeight" />.
58 <paramref name="sourceTop" /> + <paramref name="sourceHeight" /> is greater than or equal to <see cref="P:System.Console.BufferHeight" />.
62 <paramref name="sourceLeft" /> + <paramref name="sourceWidth" /> is greater than or equal to <see cref="P:System.Console.BufferWidth" />.</exception>
63 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
64 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
65 <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows.</exception>
67 <member name="M:System.Console.MoveBufferArea(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Char,System.ConsoleColor,System.ConsoleColor)">
68 <summary>Copies a specified source area of the screen buffer to a specified destination area.</summary>
69 <param name="sourceLeft">The leftmost column of the source area.</param>
70 <param name="sourceTop">The topmost row of the source area.</param>
71 <param name="sourceWidth">The number of columns in the source area.</param>
72 <param name="sourceHeight">The number of rows in the source area.</param>
73 <param name="targetLeft">The leftmost column of the destination area.</param>
74 <param name="targetTop">The topmost row of the destination area.</param>
75 <param name="sourceChar">The character used to fill the source area.</param>
76 <param name="sourceForeColor">The foreground color used to fill the source area.</param>
77 <param name="sourceBackColor">The background color used to fill the source area.</param>
78 <exception cref="T:System.ArgumentOutOfRangeException">One or more of the parameters is less than zero.
82 <paramref name="sourceLeft" /> or <paramref name="targetLeft" /> is greater than or equal to <see cref="P:System.Console.BufferWidth" />.
86 <paramref name="sourceTop" /> or <paramref name="targetTop" /> is greater than or equal to <see cref="P:System.Console.BufferHeight" />.
90 <paramref name="sourceTop" /> + <paramref name="sourceHeight" /> is greater than or equal to <see cref="P:System.Console.BufferHeight" />.
94 <paramref name="sourceLeft" /> + <paramref name="sourceWidth" /> is greater than or equal to <see cref="P:System.Console.BufferWidth" />.</exception>
95 <exception cref="T:System.ArgumentException">One or both of the color parameters is not a member of the <see cref="T:System.ConsoleColor" /> enumeration.</exception>
96 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
97 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
98 <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows.</exception>
100 <member name="M:System.Console.OpenStandardError">
101 <summary>Acquires the standard error stream.</summary>
102 <returns>The standard error stream.</returns>
104 <member name="M:System.Console.OpenStandardError(System.Int32)">
105 <summary>Acquires the standard error stream, which is set to a specified buffer size.</summary>
106 <param name="bufferSize">This parameter has no effect, but its value must be greater than or equal to zero.</param>
107 <exception cref="T:System.ArgumentOutOfRangeException">
108 <paramref name="bufferSize" /> is less than or equal to zero.</exception>
109 <returns>The standard error stream.</returns>
111 <member name="M:System.Console.OpenStandardInput">
112 <summary>Acquires the standard input stream.</summary>
113 <returns>The standard input stream.</returns>
115 <member name="M:System.Console.OpenStandardInput(System.Int32)">
116 <summary>Acquires the standard input stream, which is set to a specified buffer size.</summary>
117 <param name="bufferSize">This parameter has no effect, but its value must be greater than or equal to zero.</param>
118 <exception cref="T:System.ArgumentOutOfRangeException">
119 <paramref name="bufferSize" /> is less than or equal to zero.</exception>
120 <returns>The standard input stream.</returns>
122 <member name="M:System.Console.OpenStandardOutput">
123 <summary>Acquires the standard output stream.</summary>
124 <returns>The standard output stream.</returns>
126 <member name="M:System.Console.OpenStandardOutput(System.Int32)">
127 <summary>Acquires the standard output stream, which is set to a specified buffer size.</summary>
128 <param name="bufferSize">This parameter has no effect, but its value must be greater than or equal to zero.</param>
129 <exception cref="T:System.ArgumentOutOfRangeException">
130 <paramref name="bufferSize" /> is less than or equal to zero.</exception>
131 <returns>The standard output stream.</returns>
133 <member name="M:System.Console.Read">
134 <summary>Reads the next character from the standard input stream.</summary>
135 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
136 <returns>The next character from the input stream, or negative one (-1) if there are currently no more characters to be read.</returns>
138 <member name="M:System.Console.ReadKey">
139 <summary>Obtains the next character or function key pressed by the user. The pressed key is displayed in the console window.</summary>
140 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Console.In" /> property is redirected from some stream other than the console.</exception>
141 <returns>An object that describes the <see cref="T:System.ConsoleKey" /> constant and Unicode character, if any, that correspond to the pressed console key. The <see cref="T:System.ConsoleKeyInfo" /> object also describes, in a bitwise combination of <see cref="T:System.ConsoleModifiers" /> values, whether one or more Shift, Alt, or Ctrl modifier keys was pressed simultaneously with the console key.</returns>
143 <member name="M:System.Console.ReadKey(System.Boolean)">
144 <summary>Obtains the next character or function key pressed by the user. The pressed key is optionally displayed in the console window.</summary>
145 <param name="intercept">Determines whether to display the pressed key in the console window. <see langword="true" /> to not display the pressed key; otherwise, <see langword="false" />.</param>
146 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Console.In" /> property is redirected from some stream other than the console.</exception>
147 <returns>An object that describes the <see cref="T:System.ConsoleKey" /> constant and Unicode character, if any, that correspond to the pressed console key. The <see cref="T:System.ConsoleKeyInfo" /> object also describes, in a bitwise combination of <see cref="T:System.ConsoleModifiers" /> values, whether one or more Shift, Alt, or Ctrl modifier keys was pressed simultaneously with the console key.</returns>
149 <member name="M:System.Console.ReadLine">
150 <summary>Reads the next line of characters from the standard input stream.</summary>
151 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
152 <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string.</exception>
153 <exception cref="T:System.ArgumentOutOfRangeException">The number of characters in the next line of characters is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
154 <returns>The next line of characters from the input stream, or <see langword="null" /> if no more lines are available.</returns>
156 <member name="M:System.Console.ResetColor">
157 <summary>Sets the foreground and background console colors to their defaults.</summary>
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.SetBufferSize(System.Int32,System.Int32)">
162 <summary>Sets the height and width of the screen buffer area to the specified values.</summary>
163 <param name="width">The width of the buffer area measured in columns.</param>
164 <param name="height">The height of the buffer area measured in rows.</param>
165 <exception cref="T:System.ArgumentOutOfRangeException">
166 <paramref name="height" /> or <paramref name="width" /> is less than or equal to zero.
170 <paramref name="height" /> or <paramref name="width" /> is greater than or equal to <see cref="F:System.Int16.MaxValue" />.
174 <paramref name="width" /> is less than <see cref="P:System.Console.WindowLeft" /> + <see cref="P:System.Console.WindowWidth" />.
178 <paramref name="height" /> is less than <see cref="P:System.Console.WindowTop" /> + <see cref="P:System.Console.WindowHeight" />.</exception>
179 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
180 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
181 <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows.</exception>
183 <member name="M:System.Console.SetCursorPosition(System.Int32,System.Int32)">
184 <summary>Sets the position of the cursor.</summary>
185 <param name="left">The column position of the cursor. Columns are numbered from left to right starting at 0.</param>
186 <param name="top">The row position of the cursor. Rows are numbered from top to bottom starting at 0.</param>
187 <exception cref="T:System.ArgumentOutOfRangeException">
188 <paramref name="left" /> or <paramref name="top" /> is less than zero.
192 <paramref name="left" /> is greater than or equal to <see cref="P:System.Console.BufferWidth" />.
196 <paramref name="top" /> is greater than or equal to <see cref="P:System.Console.BufferHeight" />.</exception>
197 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
198 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
200 <member name="M:System.Console.SetError(System.IO.TextWriter)">
201 <summary>Sets the <see cref="P:System.Console.Error" /> property to the specified <see cref="T:System.IO.TextWriter" /> object.</summary>
202 <param name="newError">A stream that is the new standard error output.</param>
203 <exception cref="T:System.ArgumentNullException">
204 <paramref name="newError" /> is <see langword="null" />.</exception>
205 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
207 <member name="M:System.Console.SetIn(System.IO.TextReader)">
208 <summary>Sets the <see cref="P:System.Console.In" /> property to the specified <see cref="T:System.IO.TextReader" /> object.</summary>
209 <param name="newIn">A stream that is the new standard input.</param>
210 <exception cref="T:System.ArgumentNullException">
211 <paramref name="newIn" /> is <see langword="null" />.</exception>
212 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
214 <member name="M:System.Console.SetOut(System.IO.TextWriter)">
215 <summary>Sets the <see cref="P:System.Console.Out" /> property to target the <see cref="T:System.IO.TextWriter" /> object.</summary>
216 <param name="newOut">A text writer to be used as the new standard output.</param>
217 <exception cref="T:System.ArgumentNullException">
218 <paramref name="newOut" /> is <see langword="null" />.</exception>
219 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
221 <member name="M:System.Console.SetWindowPosition(System.Int32,System.Int32)">
222 <summary>Sets the position of the console window relative to the screen buffer.</summary>
223 <param name="left">The column position of the upper left corner of the console window.</param>
224 <param name="top">The row position of the upper left corner of the console window.</param>
225 <exception cref="T:System.ArgumentOutOfRangeException">
226 <paramref name="left" /> or <paramref name="top" /> is less than zero.
230 <paramref name="left" /> + <see cref="P:System.Console.WindowWidth" /> is greater than <see cref="P:System.Console.BufferWidth" />.
234 <paramref name="top" /> + <see cref="P:System.Console.WindowHeight" /> is greater than <see cref="P:System.Console.BufferHeight" />.</exception>
235 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
236 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
237 <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows.</exception>
239 <member name="M:System.Console.SetWindowSize(System.Int32,System.Int32)">
240 <summary>Sets the height and width of the console window to the specified values.</summary>
241 <param name="width">The width of the console window measured in columns.</param>
242 <param name="height">The height of the console window measured in rows.</param>
243 <exception cref="T:System.ArgumentOutOfRangeException">
244 <paramref name="width" /> or <paramref name="height" /> is less than or equal to zero.
248 <paramref name="width" /> plus <see cref="P:System.Console.WindowLeft" /> or <paramref name="height" /> plus <see cref="P:System.Console.WindowTop" /> is greater than or equal to <see cref="F:System.Int16.MaxValue" />.
252 <paramref name="width" /> or <paramref name="height" /> is greater than the largest possible window width or height for the current screen resolution and console font.</exception>
253 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
254 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
255 <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows.</exception>
257 <member name="M:System.Console.Write(System.Boolean)">
258 <summary>Writes the text representation of the specified Boolean value to the standard output stream.</summary>
259 <param name="value">The value to write.</param>
260 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
262 <member name="M:System.Console.Write(System.Char)">
263 <summary>Writes the specified Unicode character value to the standard output stream.</summary>
264 <param name="value">The value to write.</param>
265 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
267 <member name="M:System.Console.Write(System.Char[])">
268 <summary>Writes the specified array of Unicode characters to the standard output stream.</summary>
269 <param name="buffer">A Unicode character array.</param>
270 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
272 <member name="M:System.Console.Write(System.Char[],System.Int32,System.Int32)">
273 <summary>Writes the specified subarray of Unicode characters to the standard output stream.</summary>
274 <param name="buffer">An array of Unicode characters.</param>
275 <param name="index">The starting position in <paramref name="buffer" />.</param>
276 <param name="count">The number of characters to write.</param>
277 <exception cref="T:System.ArgumentNullException">
278 <paramref name="buffer" /> is <see langword="null" />.</exception>
279 <exception cref="T:System.ArgumentOutOfRangeException">
280 <paramref name="index" /> or <paramref name="count" /> is less than zero.</exception>
281 <exception cref="T:System.ArgumentException">
282 <paramref name="index" /> plus <paramref name="count" /> specify a position that is not within <paramref name="buffer" />.</exception>
283 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
285 <member name="M:System.Console.Write(System.Decimal)">
286 <summary>Writes the text representation of the specified <see cref="T:System.Decimal" /> value to the standard output stream.</summary>
287 <param name="value">The value to write.</param>
288 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
290 <member name="M:System.Console.Write(System.Double)">
291 <summary>Writes the text representation of the specified double-precision floating-point value to the standard output stream.</summary>
292 <param name="value">The value to write.</param>
293 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
295 <member name="M:System.Console.Write(System.Int32)">
296 <summary>Writes the text representation of the specified 32-bit signed integer value to the standard output stream.</summary>
297 <param name="value">The value to write.</param>
298 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
300 <member name="M:System.Console.Write(System.Int64)">
301 <summary>Writes the text representation of the specified 64-bit signed integer value to the standard output stream.</summary>
302 <param name="value">The value to write.</param>
303 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
305 <member name="M:System.Console.Write(System.Object)">
306 <summary>Writes the text representation of the specified object to the standard output stream.</summary>
307 <param name="value">The value to write, or <see langword="null" />.</param>
308 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
310 <member name="M:System.Console.Write(System.Single)">
311 <summary>Writes the text representation of the specified single-precision floating-point value to the standard output stream.</summary>
312 <param name="value">The value to write.</param>
313 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
315 <member name="M:System.Console.Write(System.String)">
316 <summary>Writes the specified string value to the standard output stream.</summary>
317 <param name="value">The value to write.</param>
318 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
320 <member name="M:System.Console.Write(System.String,System.Object)">
321 <summary>Writes the text representation of the specified object to the standard output stream using the specified format information.</summary>
322 <param name="format">A composite format string.</param>
323 <param name="arg0">An object to write using <paramref name="format" />.</param>
324 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
325 <exception cref="T:System.ArgumentNullException">
326 <paramref name="format" /> is <see langword="null" />.</exception>
327 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
329 <member name="M:System.Console.Write(System.String,System.Object,System.Object)">
330 <summary>Writes the text representation of the specified objects to the standard output stream using the specified format information.</summary>
331 <param name="format">A composite format string.</param>
332 <param name="arg0">The first object to write using <paramref name="format" />.</param>
333 <param name="arg1">The second object to write using <paramref name="format" />.</param>
334 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
335 <exception cref="T:System.ArgumentNullException">
336 <paramref name="format" /> is <see langword="null" />.</exception>
337 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
339 <member name="M:System.Console.Write(System.String,System.Object,System.Object,System.Object)">
340 <summary>Writes the text representation of the specified objects to the standard output stream using the specified format information.</summary>
341 <param name="format">A composite format string.</param>
342 <param name="arg0">The first object to write using <paramref name="format" />.</param>
343 <param name="arg1">The second object to write using <paramref name="format" />.</param>
344 <param name="arg2">The third object to write using <paramref name="format" />.</param>
345 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
346 <exception cref="T:System.ArgumentNullException">
347 <paramref name="format" /> is <see langword="null" />.</exception>
348 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
350 <member name="M:System.Console.Write(System.String,System.Object[])">
351 <summary>Writes the text representation of the specified array of objects to the standard output stream using the specified format information.</summary>
352 <param name="format">A composite format string.</param>
353 <param name="arg">An array of objects to write using <paramref name="format" />.</param>
354 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
355 <exception cref="T:System.ArgumentNullException">
356 <paramref name="format" /> or <paramref name="arg" /> is <see langword="null" />.</exception>
357 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
359 <member name="M:System.Console.Write(System.UInt32)">
360 <summary>Writes the text representation of the specified 32-bit unsigned integer value to the standard output stream.</summary>
361 <param name="value">The value to write.</param>
362 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
364 <member name="M:System.Console.Write(System.UInt64)">
365 <summary>Writes the text representation of the specified 64-bit unsigned integer value to the standard output stream.</summary>
366 <param name="value">The value to write.</param>
367 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
369 <member name="M:System.Console.WriteLine">
370 <summary>Writes the current line terminator to the standard output stream.</summary>
371 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
373 <member name="M:System.Console.WriteLine(System.Boolean)">
374 <summary>Writes the text representation of the specified Boolean value, followed by the current line terminator, to the standard output stream.</summary>
375 <param name="value">The value to write.</param>
376 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
378 <member name="M:System.Console.WriteLine(System.Char)">
379 <summary>Writes the specified Unicode character, followed by the current line terminator, value to the standard output stream.</summary>
380 <param name="value">The value to write.</param>
381 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
383 <member name="M:System.Console.WriteLine(System.Char[])">
384 <summary>Writes the specified array of Unicode characters, followed by the current line terminator, to the standard output stream.</summary>
385 <param name="buffer">A Unicode character array.</param>
386 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
388 <member name="M:System.Console.WriteLine(System.Char[],System.Int32,System.Int32)">
389 <summary>Writes the specified subarray of Unicode characters, followed by the current line terminator, to the standard output stream.</summary>
390 <param name="buffer">An array of Unicode characters.</param>
391 <param name="index">The starting position in <paramref name="buffer" />.</param>
392 <param name="count">The number of characters to write.</param>
393 <exception cref="T:System.ArgumentNullException">
394 <paramref name="buffer" /> is <see langword="null" />.</exception>
395 <exception cref="T:System.ArgumentOutOfRangeException">
396 <paramref name="index" /> or <paramref name="count" /> is less than zero.</exception>
397 <exception cref="T:System.ArgumentException">
398 <paramref name="index" /> plus <paramref name="count" /> specify a position that is not within <paramref name="buffer" />.</exception>
399 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
401 <member name="M:System.Console.WriteLine(System.Decimal)">
402 <summary>Writes the text representation of the specified <see cref="T:System.Decimal" /> value, followed by the current line terminator, to the standard output stream.</summary>
403 <param name="value">The value to write.</param>
404 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
406 <member name="M:System.Console.WriteLine(System.Double)">
407 <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>
408 <param name="value">The value to write.</param>
409 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
411 <member name="M:System.Console.WriteLine(System.Int32)">
412 <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>
413 <param name="value">The value to write.</param>
414 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
416 <member name="M:System.Console.WriteLine(System.Int64)">
417 <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>
418 <param name="value">The value to write.</param>
419 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
421 <member name="M:System.Console.WriteLine(System.Object)">
422 <summary>Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.</summary>
423 <param name="value">The value to write.</param>
424 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
426 <member name="M:System.Console.WriteLine(System.Single)">
427 <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>
428 <param name="value">The value to write.</param>
429 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
431 <member name="M:System.Console.WriteLine(System.String)">
432 <summary>Writes the specified string value, followed by the current line terminator, to the standard output stream.</summary>
433 <param name="value">The value to write.</param>
434 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
436 <member name="M:System.Console.WriteLine(System.String,System.Object)">
437 <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>
438 <param name="format">A composite format string.</param>
439 <param name="arg0">An object to write using <paramref name="format" />.</param>
440 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
441 <exception cref="T:System.ArgumentNullException">
442 <paramref name="format" /> is <see langword="null" />.</exception>
443 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
445 <member name="M:System.Console.WriteLine(System.String,System.Object,System.Object)">
446 <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>
447 <param name="format">A composite format string.</param>
448 <param name="arg0">The first object to write using <paramref name="format" />.</param>
449 <param name="arg1">The second object to write using <paramref name="format" />.</param>
450 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
451 <exception cref="T:System.ArgumentNullException">
452 <paramref name="format" /> is <see langword="null" />.</exception>
453 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
455 <member name="M:System.Console.WriteLine(System.String,System.Object,System.Object,System.Object)">
456 <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>
457 <param name="format">A composite format string.</param>
458 <param name="arg0">The first object to write using <paramref name="format" />.</param>
459 <param name="arg1">The second object to write using <paramref name="format" />.</param>
460 <param name="arg2">The third object to write using <paramref name="format" />.</param>
461 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
462 <exception cref="T:System.ArgumentNullException">
463 <paramref name="format" /> is <see langword="null" />.</exception>
464 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
466 <member name="M:System.Console.WriteLine(System.String,System.Object[])">
467 <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>
468 <param name="format">A composite format string.</param>
469 <param name="arg">An array of objects to write using <paramref name="format" />.</param>
470 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
471 <exception cref="T:System.ArgumentNullException">
472 <paramref name="format" /> or <paramref name="arg" /> is <see langword="null" />.</exception>
473 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
475 <member name="M:System.Console.WriteLine(System.UInt32)">
476 <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>
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.UInt64)">
481 <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>
482 <param name="value">The value to write.</param>
483 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
485 <member name="P:System.Console.BackgroundColor">
486 <summary>Gets or sets the background color of the console.</summary>
487 <exception cref="T:System.ArgumentException">The color specified in a set operation is not a valid member of <see cref="T:System.ConsoleColor" />.</exception>
488 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
489 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
490 <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>
492 <member name="P:System.Console.BufferHeight">
493 <summary>Gets or sets the height of the buffer area.</summary>
494 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than or equal to zero.
498 The value in a set operation is greater than or equal to <see cref="F:System.Int16.MaxValue" />.
502 The value in a set operation is less than <see cref="P:System.Console.WindowTop" /> + <see cref="P:System.Console.WindowHeight" />.</exception>
503 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
504 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
505 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
506 <returns>The current height, in rows, of the buffer area.</returns>
508 <member name="P:System.Console.BufferWidth">
509 <summary>Gets or sets the width of the buffer area.</summary>
510 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than or equal to zero.
514 The value in a set operation is greater than or equal to <see cref="F:System.Int16.MaxValue" />.
518 The value in a set operation is less than <see cref="P:System.Console.WindowLeft" /> + <see cref="P:System.Console.WindowWidth" />.</exception>
519 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
520 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
521 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
522 <returns>The current width, in columns, of the buffer area.</returns>
524 <member name="P:System.Console.CapsLock">
525 <summary>Gets a value indicating whether the CAPS LOCK keyboard toggle is turned on or turned off.</summary>
526 <exception cref="T:System.PlatformNotSupportedException">The get operation is invoked on an operating system other than Windows.</exception>
528 <see langword="true" /> if CAPS LOCK is turned on; <see langword="false" /> if CAPS LOCK is turned off.</returns>
530 <member name="P:System.Console.CursorLeft">
531 <summary>Gets or sets the column position of the cursor within the buffer area.</summary>
532 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than zero.
536 The value in a set operation is greater than or equal to <see cref="P:System.Console.BufferWidth" />.</exception>
537 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
538 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
539 <returns>The current position, in columns, of the cursor.</returns>
541 <member name="P:System.Console.CursorSize">
542 <summary>Gets or sets the height of the cursor within a character cell.</summary>
543 <exception cref="T:System.ArgumentOutOfRangeException">The value specified in a set operation is less than 1 or greater than 100.</exception>
544 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
545 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
546 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
547 <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>
549 <member name="P:System.Console.CursorTop">
550 <summary>Gets or sets the row position of the cursor within the buffer area.</summary>
551 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than zero.
555 The value in a set operation is greater than or equal to <see cref="P:System.Console.BufferHeight" />.</exception>
556 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
557 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
558 <returns>The current position, in rows, of the cursor.</returns>
560 <member name="P:System.Console.CursorVisible">
561 <summary>Gets or sets a value indicating whether the cursor is visible.</summary>
562 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
563 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
564 <exception cref="T:System.PlatformNotSupportedException">The get operation is invoked on an operating system other than Windows.</exception>
566 <see langword="true" /> if the cursor is visible; otherwise, <see langword="false" />.</returns>
568 <member name="P:System.Console.Error">
569 <summary>Gets the standard error output stream.</summary>
570 <returns>A <see cref="T:System.IO.TextWriter" /> that represents the standard error output stream.</returns>
572 <member name="P:System.Console.ForegroundColor">
573 <summary>Gets or sets the foreground color of the console.</summary>
574 <exception cref="T:System.ArgumentException">The color specified in a set operation is not a valid member of <see cref="T:System.ConsoleColor" />.</exception>
575 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
576 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
577 <returns>A <see cref="T:System.ConsoleColor" /> that specifies the foreground color of the console; that is, the color of each character that is displayed. The default is gray.</returns>
579 <member name="P:System.Console.In">
580 <summary>Gets the standard input stream.</summary>
581 <returns>A <see cref="T:System.IO.TextReader" /> that represents the standard input stream.</returns>
583 <member name="P:System.Console.InputEncoding">
584 <summary>Gets or sets the encoding the console uses to read input.</summary>
585 <exception cref="T:System.ArgumentNullException">The property value in a set operation is <see langword="null" />.</exception>
586 <exception cref="T:System.IO.IOException">An error occurred during the execution of this operation.</exception>
587 <exception cref="T:System.Security.SecurityException">Your application does not have permission to perform this operation.</exception>
588 <returns>The encoding used to read console input.</returns>
590 <member name="P:System.Console.IsErrorRedirected">
591 <summary>Gets a value that indicates whether the error output stream has been redirected from the standard error stream.</summary>
593 <see langword="true" /> if error output is redirected; otherwise, <see langword="false" />.</returns>
595 <member name="P:System.Console.IsInputRedirected">
596 <summary>Gets a value that indicates whether input has been redirected from the standard input stream.</summary>
598 <see langword="true" /> if input is redirected; otherwise, <see langword="false" />.</returns>
600 <member name="P:System.Console.IsOutputRedirected">
601 <summary>Gets a value that indicates whether output has been redirected from the standard output stream.</summary>
603 <see langword="true" /> if output is redirected; otherwise, <see langword="false" />.</returns>
605 <member name="P:System.Console.KeyAvailable">
606 <summary>Gets a value indicating whether a key press is available in the input stream.</summary>
607 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
608 <exception cref="T:System.InvalidOperationException">Standard input is redirected to a file instead of the keyboard.</exception>
610 <see langword="true" /> if a key press is available; otherwise, <see langword="false" />.</returns>
612 <member name="P:System.Console.LargestWindowHeight">
613 <summary>Gets the largest possible number of console window rows, based on the current font and screen resolution.</summary>
614 <returns>The height of the largest possible console window measured in rows.</returns>
616 <member name="P:System.Console.LargestWindowWidth">
617 <summary>Gets the largest possible number of console window columns, based on the current font and screen resolution.</summary>
618 <returns>The width of the largest possible console window measured in columns.</returns>
620 <member name="P:System.Console.NumberLock">
621 <summary>Gets a value indicating whether the NUM LOCK keyboard toggle is turned on or turned off.</summary>
622 <exception cref="T:System.PlatformNotSupportedException">The get operation is invoked on an operating system other than Windows.</exception>
624 <see langword="true" /> if NUM LOCK is turned on; <see langword="false" /> if NUM LOCK is turned off.</returns>
626 <member name="P:System.Console.Out">
627 <summary>Gets the standard output stream.</summary>
628 <returns>A <see cref="T:System.IO.TextWriter" /> that represents the standard output stream.</returns>
630 <member name="P:System.Console.OutputEncoding">
631 <summary>Gets or sets the encoding the console uses to write output.</summary>
632 <exception cref="T:System.ArgumentNullException">The property value in a set operation is <see langword="null" />.</exception>
633 <exception cref="T:System.IO.IOException">An error occurred during the execution of this operation.</exception>
634 <exception cref="T:System.Security.SecurityException">Your application does not have permission to perform this operation.</exception>
635 <returns>The encoding used to write console output.</returns>
637 <member name="P:System.Console.Title">
638 <summary>Gets or sets the title to display in the console title bar.</summary>
639 <exception cref="T:System.InvalidOperationException">In a get operation, the retrieved title is longer than 24500 characters.</exception>
640 <exception cref="T:System.ArgumentOutOfRangeException">In a set operation, the specified title is longer than 24500 characters.</exception>
641 <exception cref="T:System.ArgumentNullException">In a set operation, the specified title is <see langword="null" />.</exception>
642 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
643 <exception cref="T:System.PlatformNotSupportedException">The get operation is invoked on an operating system other than Windows.</exception>
644 <returns>The string to be displayed in the title bar of the console. The maximum length of the title string is 24500 characters.</returns>
646 <member name="P:System.Console.TreatControlCAsInput">
647 <summary>Gets or sets a value indicating whether the combination of the <see cref="F:System.ConsoleModifiers.Control" /> modifier key and <see cref="F:System.ConsoleKey.C" /> console key (Ctrl+C) is treated as ordinary input or as an interruption that is handled by the operating system.</summary>
648 <exception cref="T:System.IO.IOException">Unable to get or set the input mode of the console input buffer.</exception>
650 <see langword="true" /> if Ctrl+C is treated as ordinary input; otherwise, <see langword="false" />.</returns>
652 <member name="P:System.Console.WindowHeight">
653 <summary>Gets or sets the height of the console window area.</summary>
654 <exception cref="T:System.ArgumentOutOfRangeException">The value of the <see cref="P:System.Console.WindowWidth" /> property or the value of the <see cref="P:System.Console.WindowHeight" /> property is less than or equal to 0.
658 The value of the <see cref="P:System.Console.WindowHeight" /> property plus the value of the <see cref="P:System.Console.WindowTop" /> property is greater than or equal to <see cref="F:System.Int16.MaxValue" />.
662 The value of the <see cref="P:System.Console.WindowWidth" /> property or the value of the <see cref="P:System.Console.WindowHeight" /> property is greater than the largest possible window width or height for the current screen resolution and console font.</exception>
663 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
664 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
665 <returns>The height of the console window measured in rows.</returns>
667 <member name="P:System.Console.WindowLeft">
668 <summary>Gets or sets the leftmost position of the console window area relative to the screen buffer.</summary>
669 <exception cref="T:System.ArgumentOutOfRangeException">In a set operation, the value to be assigned is less than zero.
673 As a result of the assignment, <see cref="P:System.Console.WindowLeft" /> plus <see cref="P:System.Console.WindowWidth" /> would exceed <see cref="P:System.Console.BufferWidth" />.</exception>
674 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
675 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
676 <returns>The leftmost console window position measured in columns.</returns>
678 <member name="P:System.Console.WindowTop">
679 <summary>Gets or sets the top position of the console window area relative to the screen buffer.</summary>
680 <exception cref="T:System.ArgumentOutOfRangeException">In a set operation, the value to be assigned is less than zero.
684 As a result of the assignment, <see cref="P:System.Console.WindowTop" /> plus <see cref="P:System.Console.WindowHeight" /> would exceed <see cref="P:System.Console.BufferHeight" />.</exception>
685 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
686 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
687 <returns>The uppermost console window position measured in rows.</returns>
689 <member name="P:System.Console.WindowWidth">
690 <summary>Gets or sets the width of the console window.</summary>
691 <exception cref="T:System.ArgumentOutOfRangeException">The value of the <see cref="P:System.Console.WindowWidth" /> property or the value of the <see cref="P:System.Console.WindowHeight" /> property is less than or equal to 0.
695 The value of the <see cref="P:System.Console.WindowHeight" /> property plus the value of the <see cref="P:System.Console.WindowTop" /> property is greater than or equal to <see cref="F:System.Int16.MaxValue" />.
699 The value of the <see cref="P:System.Console.WindowWidth" /> property or the value of the <see cref="P:System.Console.WindowHeight" /> property is greater than the largest possible window width or height for the current screen resolution and console font.</exception>
700 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
701 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
702 <returns>The width of the console window measured in columns.</returns>
704 <member name="T:System.ConsoleCancelEventArgs">
705 <summary>Provides data for the <see cref="E:System.Console.CancelKeyPress" /> event. This class cannot be inherited.</summary>
707 <member name="P:System.ConsoleCancelEventArgs.Cancel">
708 <summary>Gets or sets a value that indicates whether simultaneously pressing the <see cref="F:System.ConsoleModifiers.Control" /> modifier key and the <see cref="F:System.ConsoleKey.C" /> console key (Ctrl+C) or the Ctrl+Break keys terminates the current process. The default is <see langword="false" />, which terminates the current process.</summary>
710 <see langword="true" /> if the current process should resume when the event handler concludes; <see langword="false" /> if the current process should terminate. The default value is <see langword="false" />; the current process terminates when the event handler returns. If <see langword="true" />, the current process continues.</returns>
712 <member name="P:System.ConsoleCancelEventArgs.SpecialKey">
713 <summary>Gets the combination of modifier and console keys that interrupted the current process.</summary>
714 <returns>One of the enumeration values that specifies the key combination that interrupted the current process. There is no default value.</returns>
716 <member name="T:System.ConsoleCancelEventHandler">
717 <summary>Represents the method that will handle the <see cref="E:System.Console.CancelKeyPress" /> event of a <see cref="T:System.Console" />.</summary>
718 <param name="sender">The source of the event.</param>
719 <param name="e">A <see cref="T:System.ConsoleCancelEventArgs" /> object that contains the event data.</param>
721 <member name="T:System.ConsoleColor">
722 <summary>Specifies constants that define foreground and background colors for the console.</summary>
724 <member name="F:System.ConsoleColor.Black">
725 <summary>The color black.</summary>
727 <member name="F:System.ConsoleColor.Blue">
728 <summary>The color blue.</summary>
730 <member name="F:System.ConsoleColor.Cyan">
731 <summary>The color cyan (blue-green).</summary>
733 <member name="F:System.ConsoleColor.DarkBlue">
734 <summary>The color dark blue.</summary>
736 <member name="F:System.ConsoleColor.DarkCyan">
737 <summary>The color dark cyan (dark blue-green).</summary>
739 <member name="F:System.ConsoleColor.DarkGray">
740 <summary>The color dark gray.</summary>
742 <member name="F:System.ConsoleColor.DarkGreen">
743 <summary>The color dark green.</summary>
745 <member name="F:System.ConsoleColor.DarkMagenta">
746 <summary>The color dark magenta (dark purplish-red).</summary>
748 <member name="F:System.ConsoleColor.DarkRed">
749 <summary>The color dark red.</summary>
751 <member name="F:System.ConsoleColor.DarkYellow">
752 <summary>The color dark yellow (ochre).</summary>
754 <member name="F:System.ConsoleColor.Gray">
755 <summary>The color gray.</summary>
757 <member name="F:System.ConsoleColor.Green">
758 <summary>The color green.</summary>
760 <member name="F:System.ConsoleColor.Magenta">
761 <summary>The color magenta (purplish-red).</summary>
763 <member name="F:System.ConsoleColor.Red">
764 <summary>The color red.</summary>
766 <member name="F:System.ConsoleColor.White">
767 <summary>The color white.</summary>
769 <member name="F:System.ConsoleColor.Yellow">
770 <summary>The color yellow.</summary>
772 <member name="T:System.ConsoleKey">
773 <summary>Specifies the standard keys on a console.</summary>
775 <member name="F:System.ConsoleKey.A">
776 <summary>The A key.</summary>
778 <member name="F:System.ConsoleKey.Add">
779 <summary>The Add key (the addition key on the numeric keypad).</summary>
781 <member name="F:System.ConsoleKey.Applications">
782 <summary>The Application key (Microsoft Natural Keyboard).</summary>
784 <member name="F:System.ConsoleKey.Attention">
785 <summary>The ATTN key.</summary>
787 <member name="F:System.ConsoleKey.B">
788 <summary>The B key.</summary>
790 <member name="F:System.ConsoleKey.Backspace">
791 <summary>The BACKSPACE key.</summary>
793 <member name="F:System.ConsoleKey.BrowserBack">
794 <summary>The Browser Back key.</summary>
796 <member name="F:System.ConsoleKey.BrowserFavorites">
797 <summary>The Browser Favorites key.</summary>
799 <member name="F:System.ConsoleKey.BrowserForward">
800 <summary>The Browser Forward key.</summary>
802 <member name="F:System.ConsoleKey.BrowserHome">
803 <summary>The Browser Home key.</summary>
805 <member name="F:System.ConsoleKey.BrowserRefresh">
806 <summary>The Browser Refresh key.</summary>
808 <member name="F:System.ConsoleKey.BrowserSearch">
809 <summary>The Browser Search key.</summary>
811 <member name="F:System.ConsoleKey.BrowserStop">
812 <summary>The Browser Stop key.</summary>
814 <member name="F:System.ConsoleKey.C">
815 <summary>The C key.</summary>
817 <member name="F:System.ConsoleKey.Clear">
818 <summary>The CLEAR key.</summary>
820 <member name="F:System.ConsoleKey.CrSel">
821 <summary>The CRSEL (CURSOR SELECT) key.</summary>
823 <member name="F:System.ConsoleKey.D">
824 <summary>The D key.</summary>
826 <member name="F:System.ConsoleKey.D0">
827 <summary>The 0 key.</summary>
829 <member name="F:System.ConsoleKey.D1">
830 <summary>The 1 key.</summary>
832 <member name="F:System.ConsoleKey.D2">
833 <summary>The 2 key.</summary>
835 <member name="F:System.ConsoleKey.D3">
836 <summary>The 3 key.</summary>
838 <member name="F:System.ConsoleKey.D4">
839 <summary>The 4 key.</summary>
841 <member name="F:System.ConsoleKey.D5">
842 <summary>The 5 key.</summary>
844 <member name="F:System.ConsoleKey.D6">
845 <summary>The 6 key.</summary>
847 <member name="F:System.ConsoleKey.D7">
848 <summary>The 7 key.</summary>
850 <member name="F:System.ConsoleKey.D8">
851 <summary>The 8 key.</summary>
853 <member name="F:System.ConsoleKey.D9">
854 <summary>The 9 key.</summary>
856 <member name="F:System.ConsoleKey.Decimal">
857 <summary>The Decimal key (the decimal key on the numeric keypad).</summary>
859 <member name="F:System.ConsoleKey.Delete">
860 <summary>The DEL (DELETE) key.</summary>
862 <member name="F:System.ConsoleKey.Divide">
863 <summary>The Divide key (the division key on the numeric keypad).</summary>
865 <member name="F:System.ConsoleKey.DownArrow">
866 <summary>The DOWN ARROW key.</summary>
868 <member name="F:System.ConsoleKey.E">
869 <summary>The E key.</summary>
871 <member name="F:System.ConsoleKey.End">
872 <summary>The END key.</summary>
874 <member name="F:System.ConsoleKey.Enter">
875 <summary>The ENTER key.</summary>
877 <member name="F:System.ConsoleKey.EraseEndOfFile">
878 <summary>The ERASE EOF key.</summary>
880 <member name="F:System.ConsoleKey.Escape">
881 <summary>The ESC (ESCAPE) key.</summary>
883 <member name="F:System.ConsoleKey.Execute">
884 <summary>The EXECUTE key.</summary>
886 <member name="F:System.ConsoleKey.ExSel">
887 <summary>The EXSEL (EXTEND SELECTION) key.</summary>
889 <member name="F:System.ConsoleKey.F">
890 <summary>The F key.</summary>
892 <member name="F:System.ConsoleKey.F1">
893 <summary>The F1 key.</summary>
895 <member name="F:System.ConsoleKey.F10">
896 <summary>The F10 key.</summary>
898 <member name="F:System.ConsoleKey.F11">
899 <summary>The F11 key.</summary>
901 <member name="F:System.ConsoleKey.F12">
902 <summary>The F12 key.</summary>
904 <member name="F:System.ConsoleKey.F13">
905 <summary>The F13 key.</summary>
907 <member name="F:System.ConsoleKey.F14">
908 <summary>The F14 key.</summary>
910 <member name="F:System.ConsoleKey.F15">
911 <summary>The F15 key.</summary>
913 <member name="F:System.ConsoleKey.F16">
914 <summary>The F16 key.</summary>
916 <member name="F:System.ConsoleKey.F17">
917 <summary>The F17 key.</summary>
919 <member name="F:System.ConsoleKey.F18">
920 <summary>The F18 key.</summary>
922 <member name="F:System.ConsoleKey.F19">
923 <summary>The F19 key.</summary>
925 <member name="F:System.ConsoleKey.F2">
926 <summary>The F2 key.</summary>
928 <member name="F:System.ConsoleKey.F20">
929 <summary>The F20 key.</summary>
931 <member name="F:System.ConsoleKey.F21">
932 <summary>The F21 key.</summary>
934 <member name="F:System.ConsoleKey.F22">
935 <summary>The F22 key.</summary>
937 <member name="F:System.ConsoleKey.F23">
938 <summary>The F23 key.</summary>
940 <member name="F:System.ConsoleKey.F24">
941 <summary>The F24 key.</summary>
943 <member name="F:System.ConsoleKey.F3">
944 <summary>The F3 key.</summary>
946 <member name="F:System.ConsoleKey.F4">
947 <summary>The F4 key.</summary>
949 <member name="F:System.ConsoleKey.F5">
950 <summary>The F5 key.</summary>
952 <member name="F:System.ConsoleKey.F6">
953 <summary>The F6 key.</summary>
955 <member name="F:System.ConsoleKey.F7">
956 <summary>The F7 key.</summary>
958 <member name="F:System.ConsoleKey.F8">
959 <summary>The F8 key.</summary>
961 <member name="F:System.ConsoleKey.F9">
962 <summary>The F9 key.</summary>
964 <member name="F:System.ConsoleKey.G">
965 <summary>The G key.</summary>
967 <member name="F:System.ConsoleKey.H">
968 <summary>The H key.</summary>
970 <member name="F:System.ConsoleKey.Help">
971 <summary>The HELP key.</summary>
973 <member name="F:System.ConsoleKey.Home">
974 <summary>The HOME key.</summary>
976 <member name="F:System.ConsoleKey.I">
977 <summary>The I key.</summary>
979 <member name="F:System.ConsoleKey.Insert">
980 <summary>The INS (INSERT) key.</summary>
982 <member name="F:System.ConsoleKey.J">
983 <summary>The J key.</summary>
985 <member name="F:System.ConsoleKey.K">
986 <summary>The K key.</summary>
988 <member name="F:System.ConsoleKey.L">
989 <summary>The L key.</summary>
991 <member name="F:System.ConsoleKey.LaunchApp1">
992 <summary>The Start Application 1 key (Microsoft Natural Keyboard).</summary>
994 <member name="F:System.ConsoleKey.LaunchApp2">
995 <summary>The Start Application 2 key (Microsoft Natural Keyboard).</summary>
997 <member name="F:System.ConsoleKey.LaunchMail">
998 <summary>The Start Mail key (Microsoft Natural Keyboard).</summary>
1000 <member name="F:System.ConsoleKey.LaunchMediaSelect">
1001 <summary>The Select Media key (Microsoft Natural Keyboard).</summary>
1003 <member name="F:System.ConsoleKey.LeftArrow">
1004 <summary>The LEFT ARROW key.</summary>
1006 <member name="F:System.ConsoleKey.LeftWindows">
1007 <summary>The left Windows logo key (Microsoft Natural Keyboard).</summary>
1009 <member name="F:System.ConsoleKey.M">
1010 <summary>The M key.</summary>
1012 <member name="F:System.ConsoleKey.MediaNext">
1013 <summary>The Media Next Track key.</summary>
1015 <member name="F:System.ConsoleKey.MediaPlay">
1016 <summary>The Media Play/Pause key.</summary>
1018 <member name="F:System.ConsoleKey.MediaPrevious">
1019 <summary>The Media Previous Track key.</summary>
1021 <member name="F:System.ConsoleKey.MediaStop">
1022 <summary>The Media Stop key.</summary>
1024 <member name="F:System.ConsoleKey.Multiply">
1025 <summary>The Multiply key (the multiplication key on the numeric keypad).</summary>
1027 <member name="F:System.ConsoleKey.N">
1028 <summary>The N key.</summary>
1030 <member name="F:System.ConsoleKey.NoName">
1031 <summary>A constant reserved for future use.</summary>
1033 <member name="F:System.ConsoleKey.NumPad0">
1034 <summary>The 0 key on the numeric keypad.</summary>
1036 <member name="F:System.ConsoleKey.NumPad1">
1037 <summary>The 1 key on the numeric keypad.</summary>
1039 <member name="F:System.ConsoleKey.NumPad2">
1040 <summary>The 2 key on the numeric keypad.</summary>
1042 <member name="F:System.ConsoleKey.NumPad3">
1043 <summary>The 3 key on the numeric keypad.</summary>
1045 <member name="F:System.ConsoleKey.NumPad4">
1046 <summary>The 4 key on the numeric keypad.</summary>
1048 <member name="F:System.ConsoleKey.NumPad5">
1049 <summary>The 5 key on the numeric keypad.</summary>
1051 <member name="F:System.ConsoleKey.NumPad6">
1052 <summary>The 6 key on the numeric keypad.</summary>
1054 <member name="F:System.ConsoleKey.NumPad7">
1055 <summary>The 7 key on the numeric keypad.</summary>
1057 <member name="F:System.ConsoleKey.NumPad8">
1058 <summary>The 8 key on the numeric keypad.</summary>
1060 <member name="F:System.ConsoleKey.NumPad9">
1061 <summary>The 9 key on the numeric keypad.</summary>
1063 <member name="F:System.ConsoleKey.O">
1064 <summary>The O key.</summary>
1066 <member name="F:System.ConsoleKey.Oem1">
1067 <summary>The OEM 1 key (OEM specific).</summary>
1069 <member name="F:System.ConsoleKey.Oem102">
1070 <summary>The OEM 102 key (OEM specific).</summary>
1072 <member name="F:System.ConsoleKey.Oem2">
1073 <summary>The OEM 2 key (OEM specific).</summary>
1075 <member name="F:System.ConsoleKey.Oem3">
1076 <summary>The OEM 3 key (OEM specific).</summary>
1078 <member name="F:System.ConsoleKey.Oem4">
1079 <summary>The OEM 4 key (OEM specific).</summary>
1081 <member name="F:System.ConsoleKey.Oem5">
1082 <summary>The OEM 5 (OEM specific).</summary>
1084 <member name="F:System.ConsoleKey.Oem6">
1085 <summary>The OEM 6 key (OEM specific).</summary>
1087 <member name="F:System.ConsoleKey.Oem7">
1088 <summary>The OEM 7 key (OEM specific).</summary>
1090 <member name="F:System.ConsoleKey.Oem8">
1091 <summary>The OEM 8 key (OEM specific).</summary>
1093 <member name="F:System.ConsoleKey.OemClear">
1094 <summary>The CLEAR key (OEM specific).</summary>
1096 <member name="F:System.ConsoleKey.OemComma">
1097 <summary>The OEM Comma key on any country/region keyboard.</summary>
1099 <member name="F:System.ConsoleKey.OemMinus">
1100 <summary>The OEM Minus key on any country/region keyboard.</summary>
1102 <member name="F:System.ConsoleKey.OemPeriod">
1103 <summary>The OEM Period key on any country/region keyboard.</summary>
1105 <member name="F:System.ConsoleKey.OemPlus">
1106 <summary>The OEM Plus key on any country/region keyboard.</summary>
1108 <member name="F:System.ConsoleKey.P">
1109 <summary>The P key.</summary>
1111 <member name="F:System.ConsoleKey.Pa1">
1112 <summary>The PA1 key.</summary>
1114 <member name="F:System.ConsoleKey.Packet">
1115 <summary>The PACKET key (used to pass Unicode characters with keystrokes).</summary>
1117 <member name="F:System.ConsoleKey.PageDown">
1118 <summary>The PAGE DOWN key.</summary>
1120 <member name="F:System.ConsoleKey.PageUp">
1121 <summary>The PAGE UP key.</summary>
1123 <member name="F:System.ConsoleKey.Pause">
1124 <summary>The PAUSE key.</summary>
1126 <member name="F:System.ConsoleKey.Play">
1127 <summary>The PLAY key.</summary>
1129 <member name="F:System.ConsoleKey.Print">
1130 <summary>The PRINT key.</summary>
1132 <member name="F:System.ConsoleKey.PrintScreen">
1133 <summary>The PRINT SCREEN key.</summary>
1135 <member name="F:System.ConsoleKey.Process">
1136 <summary>The IME PROCESS key.</summary>
1138 <member name="F:System.ConsoleKey.Q">
1139 <summary>The Q key.</summary>
1141 <member name="F:System.ConsoleKey.R">
1142 <summary>The R key.</summary>
1144 <member name="F:System.ConsoleKey.RightArrow">
1145 <summary>The RIGHT ARROW key.</summary>
1147 <member name="F:System.ConsoleKey.RightWindows">
1148 <summary>The right Windows logo key (Microsoft Natural Keyboard).</summary>
1150 <member name="F:System.ConsoleKey.S">
1151 <summary>The S key.</summary>
1153 <member name="F:System.ConsoleKey.Select">
1154 <summary>The SELECT key.</summary>
1156 <member name="F:System.ConsoleKey.Separator">
1157 <summary>The Separator key.</summary>
1159 <member name="F:System.ConsoleKey.Sleep">
1160 <summary>The Computer Sleep key.</summary>
1162 <member name="F:System.ConsoleKey.Spacebar">
1163 <summary>The SPACEBAR key.</summary>
1165 <member name="F:System.ConsoleKey.Subtract">
1166 <summary>The Subtract key (the subtraction key on the numeric keypad).</summary>
1168 <member name="F:System.ConsoleKey.T">
1169 <summary>The T key.</summary>
1171 <member name="F:System.ConsoleKey.Tab">
1172 <summary>The TAB key.</summary>
1174 <member name="F:System.ConsoleKey.U">
1175 <summary>The U key.</summary>
1177 <member name="F:System.ConsoleKey.UpArrow">
1178 <summary>The UP ARROW key.</summary>
1180 <member name="F:System.ConsoleKey.V">
1181 <summary>The V key.</summary>
1183 <member name="F:System.ConsoleKey.VolumeDown">
1184 <summary>The Volume Down key (Microsoft Natural Keyboard).</summary>
1186 <member name="F:System.ConsoleKey.VolumeMute">
1187 <summary>The Volume Mute key (Microsoft Natural Keyboard).</summary>
1189 <member name="F:System.ConsoleKey.VolumeUp">
1190 <summary>The Volume Up key (Microsoft Natural Keyboard).</summary>
1192 <member name="F:System.ConsoleKey.W">
1193 <summary>The W key.</summary>
1195 <member name="F:System.ConsoleKey.X">
1196 <summary>The X key.</summary>
1198 <member name="F:System.ConsoleKey.Y">
1199 <summary>The Y key.</summary>
1201 <member name="F:System.ConsoleKey.Z">
1202 <summary>The Z key.</summary>
1204 <member name="F:System.ConsoleKey.Zoom">
1205 <summary>The ZOOM key.</summary>
1207 <member name="T:System.ConsoleKeyInfo">
1208 <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>
1210 <member name="M:System.ConsoleKeyInfo.#ctor(System.Char,System.ConsoleKey,System.Boolean,System.Boolean,System.Boolean)">
1211 <summary>Initializes a new instance of the <see cref="T:System.ConsoleKeyInfo" /> structure using the specified character, console key, and modifier keys.</summary>
1212 <param name="keyChar">The Unicode character that corresponds to the <paramref name="key" /> parameter.</param>
1213 <param name="key">The console key that corresponds to the <paramref name="keyChar" /> parameter.</param>
1214 <param name="shift">
1215 <see langword="true" /> to indicate that a SHIFT key was pressed; otherwise, <see langword="false" />.</param>
1217 <see langword="true" /> to indicate that an ALT key was pressed; otherwise, <see langword="false" />.</param>
1218 <param name="control">
1219 <see langword="true" /> to indicate that a CTRL key was pressed; otherwise, <see langword="false" />.</param>
1220 <exception cref="T:System.ArgumentOutOfRangeException">The numeric value of the <paramref name="key" /> parameter is less than 0 or greater than 255.</exception>
1222 <member name="M:System.ConsoleKeyInfo.Equals(System.ConsoleKeyInfo)">
1223 <summary>Gets a value indicating whether the specified <see cref="T:System.ConsoleKeyInfo" /> object is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
1224 <param name="obj">An object to compare to the current <see cref="T:System.ConsoleKeyInfo" /> object.</param>
1226 <see langword="true" /> if <paramref name="obj" /> is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object; otherwise, <see langword="false" />.</returns>
1228 <member name="M:System.ConsoleKeyInfo.Equals(System.Object)">
1229 <summary>Gets a value indicating whether the specified object is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
1230 <param name="value">An object to compare to the current <see cref="T:System.ConsoleKeyInfo" /> object.</param>
1232 <see langword="true" /> if <paramref name="value" /> is a <see cref="T:System.ConsoleKeyInfo" /> object and is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object; otherwise, <see langword="false" />.</returns>
1234 <member name="M:System.ConsoleKeyInfo.GetHashCode">
1235 <summary>Returns the hash code for the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
1236 <returns>A 32-bit signed integer hash code.</returns>
1238 <member name="M:System.ConsoleKeyInfo.op_Equality(System.ConsoleKeyInfo,System.ConsoleKeyInfo)">
1239 <summary>Indicates whether the specified <see cref="T:System.ConsoleKeyInfo" /> objects are equal.</summary>
1240 <param name="a">The first object to compare.</param>
1241 <param name="b">The second object to compare.</param>
1243 <see langword="true" /> if <paramref name="a" /> is equal to <paramref name="b" />; otherwise, <see langword="false" />.</returns>
1245 <member name="M:System.ConsoleKeyInfo.op_Inequality(System.ConsoleKeyInfo,System.ConsoleKeyInfo)">
1246 <summary>Indicates whether the specified <see cref="T:System.ConsoleKeyInfo" /> objects are not equal.</summary>
1247 <param name="a">The first object to compare.</param>
1248 <param name="b">The second object to compare.</param>
1250 <see langword="true" /> if <paramref name="a" /> is not equal to <paramref name="b" />; otherwise, <see langword="false" />.</returns>
1252 <member name="P:System.ConsoleKeyInfo.Key">
1253 <summary>Gets the console key represented by the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
1254 <returns>A value that identifies the console key that was pressed.</returns>
1256 <member name="P:System.ConsoleKeyInfo.KeyChar">
1257 <summary>Gets the Unicode character represented by the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
1258 <returns>An object that corresponds to the console key represented by the current <see cref="T:System.ConsoleKeyInfo" /> object.</returns>
1260 <member name="P:System.ConsoleKeyInfo.Modifiers">
1261 <summary>Gets a bitwise combination of <see cref="T:System.ConsoleModifiers" /> values that specifies one or more modifier keys pressed simultaneously with the console key.</summary>
1262 <returns>A bitwise combination of the enumeration values. There is no default value.</returns>
1264 <member name="T:System.ConsoleModifiers">
1265 <summary>Represents the SHIFT, ALT, and CTRL modifier keys on a keyboard.</summary>
1267 <member name="F:System.ConsoleModifiers.Alt">
1268 <summary>The left or right ALT modifier key.</summary>
1270 <member name="F:System.ConsoleModifiers.Control">
1271 <summary>The left or right CTRL modifier key.</summary>
1273 <member name="F:System.ConsoleModifiers.Shift">
1274 <summary>The left or right SHIFT modifier key.</summary>
1276 <member name="T:System.ConsoleSpecialKey">
1277 <summary>Specifies combinations of modifier and console keys that can interrupt the current process.</summary>
1279 <member name="F:System.ConsoleSpecialKey.ControlBreak">
1280 <summary>The <see cref="F:System.ConsoleModifiers.Control" /> modifier key plus the BREAK console key.</summary>
1282 <member name="F:System.ConsoleSpecialKey.ControlC">
1283 <summary>The <see cref="F:System.ConsoleModifiers.Control" /> modifier key plus the <see cref="F:System.ConsoleKey.C" /> console key.</summary>