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="P:System.Console.BackgroundColor">
11 <summary>Gets or sets the background color of the console.</summary>
12 <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>
13 <exception cref="T:System.ArgumentException">The color specified in a set operation is not a valid member of <see cref="T:System.ConsoleColor" />.</exception>
14 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
15 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
17 <member name="M:System.Console.Beep">
18 <summary>Plays the sound of a beep through the console speaker.</summary>
19 <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>
21 <member name="M:System.Console.Beep(System.Int32,System.Int32)">
22 <summary>Plays the sound of a beep of a specified frequency and duration through the console speaker.</summary>
23 <param name="frequency">The frequency of the beep, ranging from 37 to 32767 hertz.</param>
24 <param name="duration">The duration of the beep measured in milliseconds.</param>
25 <exception cref="T:System.ArgumentOutOfRangeException">
26 <paramref name="frequency" /> is less than 37 or more than 32767 hertz.
28 <paramref name="duration" /> is less than or equal to zero.</exception>
29 <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>
30 <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows.</exception>
32 <member name="P:System.Console.BufferHeight">
33 <summary>Gets or sets the height of the buffer area.</summary>
34 <returns>The current height, in rows, of the buffer area.</returns>
35 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than or equal to zero.
37 The value in a set operation is greater than or equal to <see cref="F:System.Int16.MaxValue" />.
39 The value in a set operation is less than <see cref="P:System.Console.WindowTop" /> + <see cref="P:System.Console.WindowHeight" />.</exception>
40 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
41 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
42 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
44 <member name="P:System.Console.BufferWidth">
45 <summary>Gets or sets the width of the buffer area.</summary>
46 <returns>The current width, in columns, of the buffer area.</returns>
47 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than or equal to zero.
49 The value in a set operation is greater than or equal to <see cref="F:System.Int16.MaxValue" />.
51 The value in a set operation is less than <see cref="P:System.Console.WindowLeft" /> + <see cref="P:System.Console.WindowWidth" />.</exception>
52 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
53 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
54 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
56 <member name="E:System.Console.CancelKeyPress">
57 <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>
59 <member name="P:System.Console.CapsLock">
60 <summary>Gets a value indicating whether the CAPS LOCK keyboard toggle is turned on or turned off.</summary>
62 <see langword="true" /> if CAPS LOCK is turned on; <see langword="false" /> if CAPS LOCK is turned off.</returns>
63 <exception cref="T:System.PlatformNotSupportedException">The get operation is invoked on an operating system other than Windows.</exception>
65 <member name="M:System.Console.Clear">
66 <summary>Clears the console buffer and corresponding console window of display information.</summary>
67 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
69 <member name="P:System.Console.CursorLeft">
70 <summary>Gets or sets the column position of the cursor within the buffer area.</summary>
71 <returns>The current position, in columns, of the cursor.</returns>
72 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than zero.
74 The value in a set operation is greater than or equal to <see cref="P:System.Console.BufferWidth" />.</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.CursorSize">
79 <summary>Gets or sets the height of the cursor within a character cell.</summary>
80 <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>
81 <exception cref="T:System.ArgumentOutOfRangeException">The value specified in a set operation is less than 1 or greater than 100.</exception>
82 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
83 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
84 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
86 <member name="P:System.Console.CursorTop">
87 <summary>Gets or sets the row position of the cursor within the buffer area.</summary>
88 <returns>The current position, in rows, of the cursor.</returns>
89 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than zero.
91 The value in a set operation is greater than or equal to <see cref="P:System.Console.BufferHeight" />.</exception>
92 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
93 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
95 <member name="P:System.Console.CursorVisible">
96 <summary>Gets or sets a value indicating whether the cursor is visible.</summary>
98 <see langword="true" /> if the cursor is visible; otherwise, <see langword="false" />.</returns>
99 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
100 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
101 <exception cref="T:System.PlatformNotSupportedException">The get operation is invoked on an operating system other than Windows.</exception>
103 <member name="P:System.Console.Error">
104 <summary>Gets the standard error output stream.</summary>
105 <returns>A <see cref="T:System.IO.TextWriter" /> that represents the standard error output stream.</returns>
107 <member name="P:System.Console.ForegroundColor">
108 <summary>Gets or sets the foreground color of the console.</summary>
109 <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>
110 <exception cref="T:System.ArgumentException">The color specified in a set operation is not a valid member of <see cref="T:System.ConsoleColor" />.</exception>
111 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
112 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
114 <member name="P:System.Console.In">
115 <summary>Gets the standard input stream.</summary>
116 <returns>A <see cref="T:System.IO.TextReader" /> that represents the standard input stream.</returns>
118 <member name="P:System.Console.InputEncoding">
119 <summary>Gets or sets the encoding the console uses to read input.</summary>
120 <returns>The encoding used to read console input.</returns>
121 <exception cref="T:System.ArgumentNullException">The property value in a set operation is <see langword="null" />.</exception>
122 <exception cref="T:System.IO.IOException">An error occurred during the execution of this operation.</exception>
123 <exception cref="T:System.Security.SecurityException">Your application does not have permission to perform this operation.</exception>
125 <member name="P:System.Console.IsErrorRedirected">
126 <summary>Gets a value that indicates whether the error output stream has been redirected from the standard error stream.</summary>
128 <see langword="true" /> if error output is redirected; otherwise, <see langword="false" />.</returns>
130 <member name="P:System.Console.IsInputRedirected">
131 <summary>Gets a value that indicates whether input has been redirected from the standard input stream.</summary>
133 <see langword="true" /> if input is redirected; otherwise, <see langword="false" />.</returns>
135 <member name="P:System.Console.IsOutputRedirected">
136 <summary>Gets a value that indicates whether output has been redirected from the standard output stream.</summary>
138 <see langword="true" /> if output is redirected; otherwise, <see langword="false" />.</returns>
140 <member name="P:System.Console.KeyAvailable">
141 <summary>Gets a value indicating whether a key press is available in the input stream.</summary>
143 <see langword="true" /> if a key press is available; otherwise, <see langword="false" />.</returns>
144 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
145 <exception cref="T:System.InvalidOperationException">Standard input is redirected to a file instead of the keyboard.</exception>
147 <member name="P:System.Console.LargestWindowHeight">
148 <summary>Gets the largest possible number of console window rows, based on the current font and screen resolution.</summary>
149 <returns>The height of the largest possible console window measured in rows.</returns>
151 <member name="P:System.Console.LargestWindowWidth">
152 <summary>Gets the largest possible number of console window columns, based on the current font and screen resolution.</summary>
153 <returns>The width of the largest possible console window measured in columns.</returns>
155 <member name="M:System.Console.MoveBufferArea(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
156 <summary>Copies a specified source area of the screen buffer to a specified destination area.</summary>
157 <param name="sourceLeft">The leftmost column of the source area.</param>
158 <param name="sourceTop">The topmost row of the source area.</param>
159 <param name="sourceWidth">The number of columns in the source area.</param>
160 <param name="sourceHeight">The number of rows in the source area.</param>
161 <param name="targetLeft">The leftmost column of the destination area.</param>
162 <param name="targetTop">The topmost row of the destination area.</param>
163 <exception cref="T:System.ArgumentOutOfRangeException">One or more of the parameters is less than zero.
165 <paramref name="sourceLeft" /> or <paramref name="targetLeft" /> is greater than or equal to <see cref="P:System.Console.BufferWidth" />.
167 <paramref name="sourceTop" /> or <paramref name="targetTop" /> is greater than or equal to <see cref="P:System.Console.BufferHeight" />.
169 <paramref name="sourceTop" /> + <paramref name="sourceHeight" /> is greater than or equal to <see cref="P:System.Console.BufferHeight" />.
171 <paramref name="sourceLeft" /> + <paramref name="sourceWidth" /> is greater than or equal to <see cref="P:System.Console.BufferWidth" />.</exception>
172 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
173 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
174 <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows.</exception>
176 <member name="M:System.Console.MoveBufferArea(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Char,System.ConsoleColor,System.ConsoleColor)">
177 <summary>Copies a specified source area of the screen buffer to a specified destination area.</summary>
178 <param name="sourceLeft">The leftmost column of the source area.</param>
179 <param name="sourceTop">The topmost row of the source area.</param>
180 <param name="sourceWidth">The number of columns in the source area.</param>
181 <param name="sourceHeight">The number of rows in the source area.</param>
182 <param name="targetLeft">The leftmost column of the destination area.</param>
183 <param name="targetTop">The topmost row of the destination area.</param>
184 <param name="sourceChar">The character used to fill the source area.</param>
185 <param name="sourceForeColor">The foreground color used to fill the source area.</param>
186 <param name="sourceBackColor">The background color used to fill the source area.</param>
187 <exception cref="T:System.ArgumentOutOfRangeException">One or more of the parameters is less than zero.
189 <paramref name="sourceLeft" /> or <paramref name="targetLeft" /> is greater than or equal to <see cref="P:System.Console.BufferWidth" />.
191 <paramref name="sourceTop" /> or <paramref name="targetTop" /> is greater than or equal to <see cref="P:System.Console.BufferHeight" />.
193 <paramref name="sourceTop" /> + <paramref name="sourceHeight" /> is greater than or equal to <see cref="P:System.Console.BufferHeight" />.
195 <paramref name="sourceLeft" /> + <paramref name="sourceWidth" /> is greater than or equal to <see cref="P:System.Console.BufferWidth" />.</exception>
196 <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>
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>
199 <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows.</exception>
201 <member name="P:System.Console.NumberLock">
202 <summary>Gets a value indicating whether the NUM LOCK keyboard toggle is turned on or turned off.</summary>
204 <see langword="true" /> if NUM LOCK is turned on; <see langword="false" /> if NUM LOCK is turned off.</returns>
205 <exception cref="T:System.PlatformNotSupportedException">The get operation is invoked on an operating system other than Windows.</exception>
207 <member name="M:System.Console.OpenStandardError">
208 <summary>Acquires the standard error stream.</summary>
209 <returns>The standard error stream.</returns>
211 <member name="M:System.Console.OpenStandardError(System.Int32)">
212 <summary>Acquires the standard error stream, which is set to a specified buffer size.</summary>
213 <param name="bufferSize">The internal stream buffer size.</param>
214 <returns>The standard error stream.</returns>
215 <exception cref="T:System.ArgumentOutOfRangeException">
216 <paramref name="bufferSize" /> is less than or equal to zero.</exception>
218 <member name="M:System.Console.OpenStandardInput">
219 <summary>Acquires the standard input stream.</summary>
220 <returns>The standard input stream.</returns>
222 <member name="M:System.Console.OpenStandardInput(System.Int32)">
223 <summary>Acquires the standard input stream, which is set to a specified buffer size.</summary>
224 <param name="bufferSize">The internal stream buffer size.</param>
225 <returns>The standard input stream.</returns>
226 <exception cref="T:System.ArgumentOutOfRangeException">
227 <paramref name="bufferSize" /> is less than or equal to zero.</exception>
229 <member name="M:System.Console.OpenStandardOutput">
230 <summary>Acquires the standard output stream.</summary>
231 <returns>The standard output stream.</returns>
233 <member name="M:System.Console.OpenStandardOutput(System.Int32)">
234 <summary>Acquires the standard output stream, which is set to a specified buffer size.</summary>
235 <param name="bufferSize">The internal stream buffer size.</param>
236 <returns>The standard output stream.</returns>
237 <exception cref="T:System.ArgumentOutOfRangeException">
238 <paramref name="bufferSize" /> is less than or equal to zero.</exception>
240 <member name="P:System.Console.Out">
241 <summary>Gets the standard output stream.</summary>
242 <returns>A <see cref="T:System.IO.TextWriter" /> that represents the standard output stream.</returns>
244 <member name="P:System.Console.OutputEncoding">
245 <summary>Gets or sets the encoding the console uses to write output.</summary>
246 <returns>The encoding used to write console output.</returns>
247 <exception cref="T:System.ArgumentNullException">The property value in a set operation is <see langword="null" />.</exception>
248 <exception cref="T:System.IO.IOException">An error occurred during the execution of this operation.</exception>
249 <exception cref="T:System.Security.SecurityException">Your application does not have permission to perform this operation.</exception>
251 <member name="M:System.Console.Read">
252 <summary>Reads the next character from the standard input stream.</summary>
253 <returns>The next character from the input stream, or negative one (-1) if there are currently no more characters to be read.</returns>
254 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
256 <member name="M:System.Console.ReadKey">
257 <summary>Obtains the next character or function key pressed by the user. The pressed key is displayed in the console window.</summary>
258 <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>
259 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Console.In" /> property is redirected from some stream other than the console.</exception>
261 <member name="M:System.Console.ReadKey(System.Boolean)">
262 <summary>Obtains the next character or function key pressed by the user. The pressed key is optionally displayed in the console window.</summary>
263 <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>
264 <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>
265 <exception cref="T:System.InvalidOperationException">The <see cref="P:System.Console.In" /> property is redirected from some stream other than the console.</exception>
267 <member name="M:System.Console.ReadLine">
268 <summary>Reads the next line of characters from the standard input stream.</summary>
269 <returns>The next line of characters from the input stream, or <see langword="null" /> if no more lines are available.</returns>
270 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
271 <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string.</exception>
272 <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>
274 <member name="M:System.Console.ResetColor">
275 <summary>Sets the foreground and background console colors to their defaults.</summary>
276 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
277 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
279 <member name="M:System.Console.SetBufferSize(System.Int32,System.Int32)">
280 <summary>Sets the height and width of the screen buffer area to the specified values.</summary>
281 <param name="width">The width of the buffer area measured in columns.</param>
282 <param name="height">The height of the buffer area measured in rows.</param>
283 <exception cref="T:System.ArgumentOutOfRangeException">
284 <paramref name="height" /> or <paramref name="width" /> is less than or equal to zero.
286 <paramref name="height" /> or <paramref name="width" /> is greater than or equal to <see cref="F:System.Int16.MaxValue" />.
288 <paramref name="width" /> is less than <see cref="P:System.Console.WindowLeft" /> + <see cref="P:System.Console.WindowWidth" />.
290 <paramref name="height" /> is less than <see cref="P:System.Console.WindowTop" /> + <see cref="P:System.Console.WindowHeight" />.</exception>
291 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
292 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
293 <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows.</exception>
295 <member name="M:System.Console.SetCursorPosition(System.Int32,System.Int32)">
296 <summary>Sets the position of the cursor.</summary>
297 <param name="left">The column position of the cursor. Columns are numbered from left to right starting at 0.</param>
298 <param name="top">The row position of the cursor. Rows are numbered from top to bottom starting at 0.</param>
299 <exception cref="T:System.ArgumentOutOfRangeException">
300 <paramref name="left" /> or <paramref name="top" /> is less than zero.
302 <paramref name="left" /> is greater than or equal to <see cref="P:System.Console.BufferWidth" />.
304 <paramref name="top" /> is greater than or equal to <see cref="P:System.Console.BufferHeight" />.</exception>
305 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
306 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
308 <member name="M:System.Console.SetError(System.IO.TextWriter)">
309 <summary>Sets the <see cref="P:System.Console.Error" /> property to the specified <see cref="T:System.IO.TextWriter" /> object.</summary>
310 <param name="newError">A stream that is the new standard error output.</param>
311 <exception cref="T:System.ArgumentNullException">
312 <paramref name="newError" /> is <see langword="null" />.</exception>
313 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
315 <member name="M:System.Console.SetIn(System.IO.TextReader)">
316 <summary>Sets the <see cref="P:System.Console.In" /> property to the specified <see cref="T:System.IO.TextReader" /> object.</summary>
317 <param name="newIn">A stream that is the new standard input.</param>
318 <exception cref="T:System.ArgumentNullException">
319 <paramref name="newIn" /> is <see langword="null" />.</exception>
320 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
322 <member name="M:System.Console.SetOut(System.IO.TextWriter)">
323 <summary>Sets the <see cref="P:System.Console.Out" /> property to target the <see cref="T:System.IO.TextWriter" /> object.</summary>
324 <param name="newOut">A text writer to be used as the new standard output.</param>
325 <exception cref="T:System.ArgumentNullException">
326 <paramref name="newOut" /> is <see langword="null" />.</exception>
327 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
329 <member name="M:System.Console.SetWindowPosition(System.Int32,System.Int32)">
330 <summary>Sets the position of the console window relative to the screen buffer.</summary>
331 <param name="left">The column position of the upper left corner of the console window.</param>
332 <param name="top">The row position of the upper left corner of the console window.</param>
333 <exception cref="T:System.ArgumentOutOfRangeException">
334 <paramref name="left" /> or <paramref name="top" /> is less than zero.
336 <paramref name="left" /> + <see cref="P:System.Console.WindowWidth" /> is greater than <see cref="P:System.Console.BufferWidth" />.
338 <paramref name="top" /> + <see cref="P:System.Console.WindowHeight" /> is greater than <see cref="P:System.Console.BufferHeight" />.</exception>
339 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
340 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
341 <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows.</exception>
343 <member name="M:System.Console.SetWindowSize(System.Int32,System.Int32)">
344 <summary>Sets the height and width of the console window to the specified values.</summary>
345 <param name="width">The width of the console window measured in columns.</param>
346 <param name="height">The height of the console window measured in rows.</param>
347 <exception cref="T:System.ArgumentOutOfRangeException">
348 <paramref name="width" /> or <paramref name="height" /> is less than or equal to zero.
350 <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" />.
352 <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>
353 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
354 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
355 <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows.</exception>
357 <member name="P:System.Console.Title">
358 <summary>Gets or sets the title to display in the console title bar.</summary>
359 <returns>The string to be displayed in the title bar of the console. The maximum length of the title string is 24500 characters.</returns>
360 <exception cref="T:System.InvalidOperationException">In a get operation, the retrieved title is longer than 24500 characters.</exception>
361 <exception cref="T:System.ArgumentOutOfRangeException">In a set operation, the specified title is longer than 24500 characters.</exception>
362 <exception cref="T:System.ArgumentNullException">In a set operation, the specified title is <see langword="null" />.</exception>
363 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
364 <exception cref="T:System.PlatformNotSupportedException">The get operation is invoked on an operating system other than Windows.</exception>
366 <member name="P:System.Console.TreatControlCAsInput">
367 <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>
369 <see langword="true" /> if Ctrl+C is treated as ordinary input; otherwise, <see langword="false" />.</returns>
370 <exception cref="T:System.IO.IOException">Unable to get or set the input mode of the console input buffer.</exception>
372 <member name="P:System.Console.WindowHeight">
373 <summary>Gets or sets the height of the console window area.</summary>
374 <returns>The height of the console window measured in rows.</returns>
375 <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.
377 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" />.
379 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>
380 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
381 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
383 <member name="P:System.Console.WindowLeft">
384 <summary>Gets or sets the leftmost position of the console window area relative to the screen buffer.</summary>
385 <returns>The leftmost console window position measured in columns.</returns>
386 <exception cref="T:System.ArgumentOutOfRangeException">In a set operation, the value to be assigned is less than zero.
388 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>
389 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
390 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
392 <member name="P:System.Console.WindowTop">
393 <summary>Gets or sets the top position of the console window area relative to the screen buffer.</summary>
394 <returns>The uppermost console window position measured in rows.</returns>
395 <exception cref="T:System.ArgumentOutOfRangeException">In a set operation, the value to be assigned is less than zero.
397 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>
398 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
399 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
401 <member name="P:System.Console.WindowWidth">
402 <summary>Gets or sets the width of the console window.</summary>
403 <returns>The width of the console window measured in columns.</returns>
404 <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.
406 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" />.
408 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>
409 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
410 <exception cref="T:System.PlatformNotSupportedException">The set operation is invoked on an operating system other than Windows.</exception>
412 <member name="M:System.Console.Write(System.Boolean)">
413 <summary>Writes the text representation of the specified Boolean value to the standard output stream.</summary>
414 <param name="value">The value to write.</param>
415 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
417 <member name="M:System.Console.Write(System.Char)">
418 <summary>Writes the specified Unicode character value to the standard output stream.</summary>
419 <param name="value">The value to write.</param>
420 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
422 <member name="M:System.Console.Write(System.Char[])">
423 <summary>Writes the specified array of Unicode characters to the standard output stream.</summary>
424 <param name="buffer">A Unicode character array.</param>
425 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
427 <member name="M:System.Console.Write(System.Char[],System.Int32,System.Int32)">
428 <summary>Writes the specified subarray of Unicode characters to the standard output stream.</summary>
429 <param name="buffer">An array of Unicode characters.</param>
430 <param name="index">The starting position in <paramref name="buffer" />.</param>
431 <param name="count">The number of characters to write.</param>
432 <exception cref="T:System.ArgumentNullException">
433 <paramref name="buffer" /> is <see langword="null" />.</exception>
434 <exception cref="T:System.ArgumentOutOfRangeException">
435 <paramref name="index" /> or <paramref name="count" /> is less than zero.</exception>
436 <exception cref="T:System.ArgumentException">
437 <paramref name="index" /> plus <paramref name="count" /> specify a position that is not within <paramref name="buffer" />.</exception>
438 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
440 <member name="M:System.Console.Write(System.Decimal)">
441 <summary>Writes the text representation of the specified <see cref="T:System.Decimal" /> 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.Double)">
446 <summary>Writes the text representation of the specified double-precision floating-point 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.Int32)">
451 <summary>Writes the text representation of the specified 32-bit signed integer value to the standard output stream.</summary>
452 <param name="value">The value to write.</param>
453 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
455 <member name="M:System.Console.Write(System.Int64)">
456 <summary>Writes the text representation of the specified 64-bit signed integer 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.Object)">
461 <summary>Writes the text representation of the specified object to the standard output stream.</summary>
462 <param name="value">The value to write, or <see langword="null" />.</param>
463 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
465 <member name="M:System.Console.Write(System.Single)">
466 <summary>Writes the text representation of the specified single-precision floating-point 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.String)">
471 <summary>Writes the specified string 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.String,System.Object)">
476 <summary>Writes the text representation of the specified object to the standard output stream using the specified format information.</summary>
477 <param name="format">A composite format string.</param>
478 <param name="arg0">An object to write using <paramref name="format" />.</param>
479 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
480 <exception cref="T:System.ArgumentNullException">
481 <paramref name="format" /> is <see langword="null" />.</exception>
482 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
484 <member name="M:System.Console.Write(System.String,System.Object,System.Object)">
485 <summary>Writes the text representation of the specified objects to the standard output stream using the specified format information.</summary>
486 <param name="format">A composite format string.</param>
487 <param name="arg0">The first object to write using <paramref name="format" />.</param>
488 <param name="arg1">The second object to write using <paramref name="format" />.</param>
489 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
490 <exception cref="T:System.ArgumentNullException">
491 <paramref name="format" /> is <see langword="null" />.</exception>
492 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
494 <member name="M:System.Console.Write(System.String,System.Object,System.Object,System.Object)">
495 <summary>Writes the text representation of the specified objects to the standard output stream using the specified format information.</summary>
496 <param name="format">A composite format string.</param>
497 <param name="arg0">The first object to write using <paramref name="format" />.</param>
498 <param name="arg1">The second object to write using <paramref name="format" />.</param>
499 <param name="arg2">The third object to write using <paramref name="format" />.</param>
500 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
501 <exception cref="T:System.ArgumentNullException">
502 <paramref name="format" /> is <see langword="null" />.</exception>
503 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
505 <member name="M:System.Console.Write(System.String,System.Object[])">
506 <summary>Writes the text representation of the specified array of objects to the standard output stream using the specified format information.</summary>
507 <param name="format">A composite format string.</param>
508 <param name="arg">An array of objects to write using <paramref name="format" />.</param>
509 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
510 <exception cref="T:System.ArgumentNullException">
511 <paramref name="format" /> or <paramref name="arg" /> is <see langword="null" />.</exception>
512 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
514 <member name="M:System.Console.Write(System.UInt32)">
515 <summary>Writes the text representation of the specified 32-bit unsigned integer value to the standard output stream.</summary>
516 <param name="value">The value to write.</param>
517 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
519 <member name="M:System.Console.Write(System.UInt64)">
520 <summary>Writes the text representation of the specified 64-bit unsigned integer value to the standard output stream.</summary>
521 <param name="value">The value to write.</param>
522 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
524 <member name="M:System.Console.WriteLine">
525 <summary>Writes the current line terminator to the standard output stream.</summary>
526 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
528 <member name="M:System.Console.WriteLine(System.Boolean)">
529 <summary>Writes the text representation of the specified Boolean value, followed by the current line terminator, to the standard output stream.</summary>
530 <param name="value">The value to write.</param>
531 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
533 <member name="M:System.Console.WriteLine(System.Char)">
534 <summary>Writes the specified Unicode character, followed by the current line terminator, value to the standard output stream.</summary>
535 <param name="value">The value to write.</param>
536 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
538 <member name="M:System.Console.WriteLine(System.Char[])">
539 <summary>Writes the specified array of Unicode characters, followed by the current line terminator, to the standard output stream.</summary>
540 <param name="buffer">A Unicode character array.</param>
541 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
543 <member name="M:System.Console.WriteLine(System.Char[],System.Int32,System.Int32)">
544 <summary>Writes the specified subarray of Unicode characters, followed by the current line terminator, to the standard output stream.</summary>
545 <param name="buffer">An array of Unicode characters.</param>
546 <param name="index">The starting position in <paramref name="buffer" />.</param>
547 <param name="count">The number of characters to write.</param>
548 <exception cref="T:System.ArgumentNullException">
549 <paramref name="buffer" /> is <see langword="null" />.</exception>
550 <exception cref="T:System.ArgumentOutOfRangeException">
551 <paramref name="index" /> or <paramref name="count" /> is less than zero.</exception>
552 <exception cref="T:System.ArgumentException">
553 <paramref name="index" /> plus <paramref name="count" /> specify a position that is not within <paramref name="buffer" />.</exception>
554 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
556 <member name="M:System.Console.WriteLine(System.Decimal)">
557 <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>
558 <param name="value">The value to write.</param>
559 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
561 <member name="M:System.Console.WriteLine(System.Double)">
562 <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>
563 <param name="value">The value to write.</param>
564 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
566 <member name="M:System.Console.WriteLine(System.Int32)">
567 <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>
568 <param name="value">The value to write.</param>
569 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
571 <member name="M:System.Console.WriteLine(System.Int64)">
572 <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>
573 <param name="value">The value to write.</param>
574 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
576 <member name="M:System.Console.WriteLine(System.Object)">
577 <summary>Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.</summary>
578 <param name="value">The value to write.</param>
579 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
581 <member name="M:System.Console.WriteLine(System.Single)">
582 <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>
583 <param name="value">The value to write.</param>
584 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
586 <member name="M:System.Console.WriteLine(System.String)">
587 <summary>Writes the specified string value, followed by the current line terminator, to the standard output stream.</summary>
588 <param name="value">The value to write.</param>
589 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
591 <member name="M:System.Console.WriteLine(System.String,System.Object)">
592 <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>
593 <param name="format">A composite format string.</param>
594 <param name="arg0">An object to write using <paramref name="format" />.</param>
595 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
596 <exception cref="T:System.ArgumentNullException">
597 <paramref name="format" /> is <see langword="null" />.</exception>
598 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
600 <member name="M:System.Console.WriteLine(System.String,System.Object,System.Object)">
601 <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>
602 <param name="format">A composite format string.</param>
603 <param name="arg0">The first object to write using <paramref name="format" />.</param>
604 <param name="arg1">The second object to write using <paramref name="format" />.</param>
605 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
606 <exception cref="T:System.ArgumentNullException">
607 <paramref name="format" /> is <see langword="null" />.</exception>
608 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
610 <member name="M:System.Console.WriteLine(System.String,System.Object,System.Object,System.Object)">
611 <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>
612 <param name="format">A composite format string.</param>
613 <param name="arg0">The first object to write using <paramref name="format" />.</param>
614 <param name="arg1">The second object to write using <paramref name="format" />.</param>
615 <param name="arg2">The third object to write using <paramref name="format" />.</param>
616 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
617 <exception cref="T:System.ArgumentNullException">
618 <paramref name="format" /> is <see langword="null" />.</exception>
619 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
621 <member name="M:System.Console.WriteLine(System.String,System.Object[])">
622 <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>
623 <param name="format">A composite format string.</param>
624 <param name="arg">An array of objects to write using <paramref name="format" />.</param>
625 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
626 <exception cref="T:System.ArgumentNullException">
627 <paramref name="format" /> or <paramref name="arg" /> is <see langword="null" />.</exception>
628 <exception cref="T:System.FormatException">The format specification in <paramref name="format" /> is invalid.</exception>
630 <member name="M:System.Console.WriteLine(System.UInt32)">
631 <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>
632 <param name="value">The value to write.</param>
633 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
635 <member name="M:System.Console.WriteLine(System.UInt64)">
636 <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>
637 <param name="value">The value to write.</param>
638 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
640 <member name="T:System.ConsoleCancelEventArgs">
641 <summary>Provides data for the <see cref="E:System.Console.CancelKeyPress" /> event. This class cannot be inherited.</summary>
643 <member name="P:System.ConsoleCancelEventArgs.Cancel">
644 <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>
646 <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>
648 <member name="P:System.ConsoleCancelEventArgs.SpecialKey">
649 <summary>Gets the combination of modifier and console keys that interrupted the current process.</summary>
650 <returns>One of the enumeration values that specifies the key combination that interrupted the current process. There is no default value.</returns>
652 <member name="T:System.ConsoleCancelEventHandler">
653 <summary>Represents the method that will handle the <see cref="E:System.Console.CancelKeyPress" /> event of a <see cref="T:System.Console" />.</summary>
654 <param name="sender">The source of the event.</param>
655 <param name="e">A <see cref="T:System.ConsoleCancelEventArgs" /> object that contains the event data.</param>
657 <member name="T:System.ConsoleColor">
658 <summary>Specifies constants that define foreground and background colors for the console.</summary>
660 <member name="F:System.ConsoleColor.Black">
661 <summary>The color black.</summary>
663 <member name="F:System.ConsoleColor.Blue">
664 <summary>The color blue.</summary>
666 <member name="F:System.ConsoleColor.Cyan">
667 <summary>The color cyan (blue-green).</summary>
669 <member name="F:System.ConsoleColor.DarkBlue">
670 <summary>The color dark blue.</summary>
672 <member name="F:System.ConsoleColor.DarkCyan">
673 <summary>The color dark cyan (dark blue-green).</summary>
675 <member name="F:System.ConsoleColor.DarkGray">
676 <summary>The color dark gray.</summary>
678 <member name="F:System.ConsoleColor.DarkGreen">
679 <summary>The color dark green.</summary>
681 <member name="F:System.ConsoleColor.DarkMagenta">
682 <summary>The color dark magenta (dark purplish-red).</summary>
684 <member name="F:System.ConsoleColor.DarkRed">
685 <summary>The color dark red.</summary>
687 <member name="F:System.ConsoleColor.DarkYellow">
688 <summary>The color dark yellow (ochre).</summary>
690 <member name="F:System.ConsoleColor.Gray">
691 <summary>The color gray.</summary>
693 <member name="F:System.ConsoleColor.Green">
694 <summary>The color green.</summary>
696 <member name="F:System.ConsoleColor.Magenta">
697 <summary>The color magenta (purplish-red).</summary>
699 <member name="F:System.ConsoleColor.Red">
700 <summary>The color red.</summary>
702 <member name="F:System.ConsoleColor.White">
703 <summary>The color white.</summary>
705 <member name="F:System.ConsoleColor.Yellow">
706 <summary>The color yellow.</summary>
708 <member name="T:System.ConsoleKey">
709 <summary>Specifies the standard keys on a console.</summary>
711 <member name="F:System.ConsoleKey.A">
712 <summary>The A key.</summary>
714 <member name="F:System.ConsoleKey.Add">
715 <summary>The Add key (the addition key on the numeric keypad).</summary>
717 <member name="F:System.ConsoleKey.Applications">
718 <summary>The Application key (Microsoft Natural Keyboard).</summary>
720 <member name="F:System.ConsoleKey.Attention">
721 <summary>The ATTN key.</summary>
723 <member name="F:System.ConsoleKey.B">
724 <summary>The B key.</summary>
726 <member name="F:System.ConsoleKey.Backspace">
727 <summary>The BACKSPACE key.</summary>
729 <member name="F:System.ConsoleKey.BrowserBack">
730 <summary>The Browser Back key (Windows 2000 or later).</summary>
732 <member name="F:System.ConsoleKey.BrowserFavorites">
733 <summary>The Browser Favorites key (Windows 2000 or later).</summary>
735 <member name="F:System.ConsoleKey.BrowserForward">
736 <summary>The Browser Forward key (Windows 2000 or later).</summary>
738 <member name="F:System.ConsoleKey.BrowserHome">
739 <summary>The Browser Home key (Windows 2000 or later).</summary>
741 <member name="F:System.ConsoleKey.BrowserRefresh">
742 <summary>The Browser Refresh key (Windows 2000 or later).</summary>
744 <member name="F:System.ConsoleKey.BrowserSearch">
745 <summary>The Browser Search key (Windows 2000 or later).</summary>
747 <member name="F:System.ConsoleKey.BrowserStop">
748 <summary>The Browser Stop key (Windows 2000 or later).</summary>
750 <member name="F:System.ConsoleKey.C">
751 <summary>The C key.</summary>
753 <member name="F:System.ConsoleKey.Clear">
754 <summary>The CLEAR key.</summary>
756 <member name="F:System.ConsoleKey.CrSel">
757 <summary>The CRSEL (CURSOR SELECT) key.</summary>
759 <member name="F:System.ConsoleKey.D">
760 <summary>The D key.</summary>
762 <member name="F:System.ConsoleKey.D0">
763 <summary>The 0 key.</summary>
765 <member name="F:System.ConsoleKey.D1">
766 <summary>The 1 key.</summary>
768 <member name="F:System.ConsoleKey.D2">
769 <summary>The 2 key.</summary>
771 <member name="F:System.ConsoleKey.D3">
772 <summary>The 3 key.</summary>
774 <member name="F:System.ConsoleKey.D4">
775 <summary>The 4 key.</summary>
777 <member name="F:System.ConsoleKey.D5">
778 <summary>The 5 key.</summary>
780 <member name="F:System.ConsoleKey.D6">
781 <summary>The 6 key.</summary>
783 <member name="F:System.ConsoleKey.D7">
784 <summary>The 7 key.</summary>
786 <member name="F:System.ConsoleKey.D8">
787 <summary>The 8 key.</summary>
789 <member name="F:System.ConsoleKey.D9">
790 <summary>The 9 key.</summary>
792 <member name="F:System.ConsoleKey.Decimal">
793 <summary>The Decimal key (the decimal key on the numeric keypad).</summary>
795 <member name="F:System.ConsoleKey.Delete">
796 <summary>The DEL (DELETE) key.</summary>
798 <member name="F:System.ConsoleKey.Divide">
799 <summary>The Divide key (the division key on the numeric keypad).</summary>
801 <member name="F:System.ConsoleKey.DownArrow">
802 <summary>The DOWN ARROW key.</summary>
804 <member name="F:System.ConsoleKey.E">
805 <summary>The E key.</summary>
807 <member name="F:System.ConsoleKey.End">
808 <summary>The END key.</summary>
810 <member name="F:System.ConsoleKey.Enter">
811 <summary>The ENTER key.</summary>
813 <member name="F:System.ConsoleKey.EraseEndOfFile">
814 <summary>The ERASE EOF key.</summary>
816 <member name="F:System.ConsoleKey.Escape">
817 <summary>The ESC (ESCAPE) key.</summary>
819 <member name="F:System.ConsoleKey.Execute">
820 <summary>The EXECUTE key.</summary>
822 <member name="F:System.ConsoleKey.ExSel">
823 <summary>The EXSEL (EXTEND SELECTION) key.</summary>
825 <member name="F:System.ConsoleKey.F">
826 <summary>The F key.</summary>
828 <member name="F:System.ConsoleKey.F1">
829 <summary>The F1 key.</summary>
831 <member name="F:System.ConsoleKey.F10">
832 <summary>The F10 key.</summary>
834 <member name="F:System.ConsoleKey.F11">
835 <summary>The F11 key.</summary>
837 <member name="F:System.ConsoleKey.F12">
838 <summary>The F12 key.</summary>
840 <member name="F:System.ConsoleKey.F13">
841 <summary>The F13 key.</summary>
843 <member name="F:System.ConsoleKey.F14">
844 <summary>The F14 key.</summary>
846 <member name="F:System.ConsoleKey.F15">
847 <summary>The F15 key.</summary>
849 <member name="F:System.ConsoleKey.F16">
850 <summary>The F16 key.</summary>
852 <member name="F:System.ConsoleKey.F17">
853 <summary>The F17 key.</summary>
855 <member name="F:System.ConsoleKey.F18">
856 <summary>The F18 key.</summary>
858 <member name="F:System.ConsoleKey.F19">
859 <summary>The F19 key.</summary>
861 <member name="F:System.ConsoleKey.F2">
862 <summary>The F2 key.</summary>
864 <member name="F:System.ConsoleKey.F20">
865 <summary>The F20 key.</summary>
867 <member name="F:System.ConsoleKey.F21">
868 <summary>The F21 key.</summary>
870 <member name="F:System.ConsoleKey.F22">
871 <summary>The F22 key.</summary>
873 <member name="F:System.ConsoleKey.F23">
874 <summary>The F23 key.</summary>
876 <member name="F:System.ConsoleKey.F24">
877 <summary>The F24 key.</summary>
879 <member name="F:System.ConsoleKey.F3">
880 <summary>The F3 key.</summary>
882 <member name="F:System.ConsoleKey.F4">
883 <summary>The F4 key.</summary>
885 <member name="F:System.ConsoleKey.F5">
886 <summary>The F5 key.</summary>
888 <member name="F:System.ConsoleKey.F6">
889 <summary>The F6 key.</summary>
891 <member name="F:System.ConsoleKey.F7">
892 <summary>The F7 key.</summary>
894 <member name="F:System.ConsoleKey.F8">
895 <summary>The F8 key.</summary>
897 <member name="F:System.ConsoleKey.F9">
898 <summary>The F9 key.</summary>
900 <member name="F:System.ConsoleKey.G">
901 <summary>The G key.</summary>
903 <member name="F:System.ConsoleKey.H">
904 <summary>The H key.</summary>
906 <member name="F:System.ConsoleKey.Help">
907 <summary>The HELP key.</summary>
909 <member name="F:System.ConsoleKey.Home">
910 <summary>The HOME key.</summary>
912 <member name="F:System.ConsoleKey.I">
913 <summary>The I key.</summary>
915 <member name="F:System.ConsoleKey.Insert">
916 <summary>The INS (INSERT) key.</summary>
918 <member name="F:System.ConsoleKey.J">
919 <summary>The J key.</summary>
921 <member name="F:System.ConsoleKey.K">
922 <summary>The K key.</summary>
924 <member name="F:System.ConsoleKey.L">
925 <summary>The L key.</summary>
927 <member name="F:System.ConsoleKey.LaunchApp1">
928 <summary>The Start Application 1 key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
930 <member name="F:System.ConsoleKey.LaunchApp2">
931 <summary>The Start Application 2 key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
933 <member name="F:System.ConsoleKey.LaunchMail">
934 <summary>The Start Mail key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
936 <member name="F:System.ConsoleKey.LaunchMediaSelect">
937 <summary>The Select Media key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
939 <member name="F:System.ConsoleKey.LeftArrow">
940 <summary>The LEFT ARROW key.</summary>
942 <member name="F:System.ConsoleKey.LeftWindows">
943 <summary>The left Windows logo key (Microsoft Natural Keyboard).</summary>
945 <member name="F:System.ConsoleKey.M">
946 <summary>The M key.</summary>
948 <member name="F:System.ConsoleKey.MediaNext">
949 <summary>The Media Next Track key (Windows 2000 or later).</summary>
951 <member name="F:System.ConsoleKey.MediaPlay">
952 <summary>The Media Play/Pause key (Windows 2000 or later).</summary>
954 <member name="F:System.ConsoleKey.MediaPrevious">
955 <summary>The Media Previous Track key (Windows 2000 or later).</summary>
957 <member name="F:System.ConsoleKey.MediaStop">
958 <summary>The Media Stop key (Windows 2000 or later).</summary>
960 <member name="F:System.ConsoleKey.Multiply">
961 <summary>The Multiply key (the multiplication key on the numeric keypad).</summary>
963 <member name="F:System.ConsoleKey.N">
964 <summary>The N key.</summary>
966 <member name="F:System.ConsoleKey.NoName">
967 <summary>A constant reserved for future use.</summary>
969 <member name="F:System.ConsoleKey.NumPad0">
970 <summary>The 0 key on the numeric keypad.</summary>
972 <member name="F:System.ConsoleKey.NumPad1">
973 <summary>The 1 key on the numeric keypad.</summary>
975 <member name="F:System.ConsoleKey.NumPad2">
976 <summary>The 2 key on the numeric keypad.</summary>
978 <member name="F:System.ConsoleKey.NumPad3">
979 <summary>The 3 key on the numeric keypad.</summary>
981 <member name="F:System.ConsoleKey.NumPad4">
982 <summary>The 4 key on the numeric keypad.</summary>
984 <member name="F:System.ConsoleKey.NumPad5">
985 <summary>The 5 key on the numeric keypad.</summary>
987 <member name="F:System.ConsoleKey.NumPad6">
988 <summary>The 6 key on the numeric keypad.</summary>
990 <member name="F:System.ConsoleKey.NumPad7">
991 <summary>The 7 key on the numeric keypad.</summary>
993 <member name="F:System.ConsoleKey.NumPad8">
994 <summary>The 8 key on the numeric keypad.</summary>
996 <member name="F:System.ConsoleKey.NumPad9">
997 <summary>The 9 key on the numeric keypad.</summary>
999 <member name="F:System.ConsoleKey.O">
1000 <summary>The O key.</summary>
1002 <member name="F:System.ConsoleKey.Oem1">
1003 <summary>The OEM 1 key (OEM specific).</summary>
1005 <member name="F:System.ConsoleKey.Oem102">
1006 <summary>The OEM 102 key (OEM specific).</summary>
1008 <member name="F:System.ConsoleKey.Oem2">
1009 <summary>The OEM 2 key (OEM specific).</summary>
1011 <member name="F:System.ConsoleKey.Oem3">
1012 <summary>The OEM 3 key (OEM specific).</summary>
1014 <member name="F:System.ConsoleKey.Oem4">
1015 <summary>The OEM 4 key (OEM specific).</summary>
1017 <member name="F:System.ConsoleKey.Oem5">
1018 <summary>The OEM 5 (OEM specific).</summary>
1020 <member name="F:System.ConsoleKey.Oem6">
1021 <summary>The OEM 6 key (OEM specific).</summary>
1023 <member name="F:System.ConsoleKey.Oem7">
1024 <summary>The OEM 7 key (OEM specific).</summary>
1026 <member name="F:System.ConsoleKey.Oem8">
1027 <summary>The OEM 8 key (OEM specific).</summary>
1029 <member name="F:System.ConsoleKey.OemClear">
1030 <summary>The CLEAR key (OEM specific).</summary>
1032 <member name="F:System.ConsoleKey.OemComma">
1033 <summary>The OEM Comma key on any country/region keyboard (Windows 2000 or later).</summary>
1035 <member name="F:System.ConsoleKey.OemMinus">
1036 <summary>The OEM Minus key on any country/region keyboard (Windows 2000 or later).</summary>
1038 <member name="F:System.ConsoleKey.OemPeriod">
1039 <summary>The OEM Period key on any country/region keyboard (Windows 2000 or later).</summary>
1041 <member name="F:System.ConsoleKey.OemPlus">
1042 <summary>The OEM Plus key on any country/region keyboard (Windows 2000 or later).</summary>
1044 <member name="F:System.ConsoleKey.P">
1045 <summary>The P key.</summary>
1047 <member name="F:System.ConsoleKey.Pa1">
1048 <summary>The PA1 key.</summary>
1050 <member name="F:System.ConsoleKey.Packet">
1051 <summary>The PACKET key (used to pass Unicode characters with keystrokes).</summary>
1053 <member name="F:System.ConsoleKey.PageDown">
1054 <summary>The PAGE DOWN key.</summary>
1056 <member name="F:System.ConsoleKey.PageUp">
1057 <summary>The PAGE UP key.</summary>
1059 <member name="F:System.ConsoleKey.Pause">
1060 <summary>The PAUSE key.</summary>
1062 <member name="F:System.ConsoleKey.Play">
1063 <summary>The PLAY key.</summary>
1065 <member name="F:System.ConsoleKey.Print">
1066 <summary>The PRINT key.</summary>
1068 <member name="F:System.ConsoleKey.PrintScreen">
1069 <summary>The PRINT SCREEN key.</summary>
1071 <member name="F:System.ConsoleKey.Process">
1072 <summary>The IME PROCESS key.</summary>
1074 <member name="F:System.ConsoleKey.Q">
1075 <summary>The Q key.</summary>
1077 <member name="F:System.ConsoleKey.R">
1078 <summary>The R key.</summary>
1080 <member name="F:System.ConsoleKey.RightArrow">
1081 <summary>The RIGHT ARROW key.</summary>
1083 <member name="F:System.ConsoleKey.RightWindows">
1084 <summary>The right Windows logo key (Microsoft Natural Keyboard).</summary>
1086 <member name="F:System.ConsoleKey.S">
1087 <summary>The S key.</summary>
1089 <member name="F:System.ConsoleKey.Select">
1090 <summary>The SELECT key.</summary>
1092 <member name="F:System.ConsoleKey.Separator">
1093 <summary>The Separator key.</summary>
1095 <member name="F:System.ConsoleKey.Sleep">
1096 <summary>The Computer Sleep key.</summary>
1098 <member name="F:System.ConsoleKey.Spacebar">
1099 <summary>The SPACEBAR key.</summary>
1101 <member name="F:System.ConsoleKey.Subtract">
1102 <summary>The Subtract key (the subtraction key on the numeric keypad).</summary>
1104 <member name="F:System.ConsoleKey.T">
1105 <summary>The T key.</summary>
1107 <member name="F:System.ConsoleKey.Tab">
1108 <summary>The TAB key.</summary>
1110 <member name="F:System.ConsoleKey.U">
1111 <summary>The U key.</summary>
1113 <member name="F:System.ConsoleKey.UpArrow">
1114 <summary>The UP ARROW key.</summary>
1116 <member name="F:System.ConsoleKey.V">
1117 <summary>The V key.</summary>
1119 <member name="F:System.ConsoleKey.VolumeDown">
1120 <summary>The Volume Down key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
1122 <member name="F:System.ConsoleKey.VolumeMute">
1123 <summary>The Volume Mute key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
1125 <member name="F:System.ConsoleKey.VolumeUp">
1126 <summary>The Volume Up key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
1128 <member name="F:System.ConsoleKey.W">
1129 <summary>The W key.</summary>
1131 <member name="F:System.ConsoleKey.X">
1132 <summary>The X key.</summary>
1134 <member name="F:System.ConsoleKey.Y">
1135 <summary>The Y key.</summary>
1137 <member name="F:System.ConsoleKey.Z">
1138 <summary>The Z key.</summary>
1140 <member name="F:System.ConsoleKey.Zoom">
1141 <summary>The ZOOM key.</summary>
1143 <member name="T:System.ConsoleKeyInfo">
1144 <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>
1146 <member name="M:System.ConsoleKeyInfo.#ctor(System.Char,System.ConsoleKey,System.Boolean,System.Boolean,System.Boolean)">
1147 <summary>Initializes a new instance of the <see cref="T:System.ConsoleKeyInfo" /> structure using the specified character, console key, and modifier keys.</summary>
1148 <param name="keyChar">The Unicode character that corresponds to the <paramref name="key" /> parameter.</param>
1149 <param name="key">The console key that corresponds to the <paramref name="keyChar" /> parameter.</param>
1150 <param name="shift">
1151 <see langword="true" /> to indicate that a SHIFT key was pressed; otherwise, <see langword="false" />.</param>
1153 <see langword="true" /> to indicate that an ALT key was pressed; otherwise, <see langword="false" />.</param>
1154 <param name="control">
1155 <see langword="true" /> to indicate that a CTRL key was pressed; otherwise, <see langword="false" />.</param>
1156 <exception cref="T:System.ArgumentOutOfRangeException">The numeric value of the <paramref name="key" /> parameter is less than 0 or greater than 255.</exception>
1158 <member name="M:System.ConsoleKeyInfo.Equals(System.ConsoleKeyInfo)">
1159 <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>
1160 <param name="obj">An object to compare to the current <see cref="T:System.ConsoleKeyInfo" /> object.</param>
1162 <see langword="true" /> if <paramref name="obj" /> is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object; otherwise, <see langword="false" />.</returns>
1164 <member name="M:System.ConsoleKeyInfo.Equals(System.Object)">
1165 <summary>Gets a value indicating whether the specified object is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
1166 <param name="value">An object to compare to the current <see cref="T:System.ConsoleKeyInfo" /> object.</param>
1168 <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>
1170 <member name="M:System.ConsoleKeyInfo.GetHashCode">
1171 <summary>Returns the hash code for the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
1172 <returns>A 32-bit signed integer hash code.</returns>
1174 <member name="P:System.ConsoleKeyInfo.Key">
1175 <summary>Gets the console key represented by the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
1176 <returns>A value that identifies the console key that was pressed.</returns>
1178 <member name="P:System.ConsoleKeyInfo.KeyChar">
1179 <summary>Gets the Unicode character represented by the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
1180 <returns>An object that corresponds to the console key represented by the current <see cref="T:System.ConsoleKeyInfo" /> object.</returns>
1182 <member name="P:System.ConsoleKeyInfo.Modifiers">
1183 <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>
1184 <returns>A bitwise combination of the enumeration values. There is no default value.</returns>
1186 <member name="M:System.ConsoleKeyInfo.op_Equality(System.ConsoleKeyInfo,System.ConsoleKeyInfo)">
1187 <summary>Indicates whether the specified <see cref="T:System.ConsoleKeyInfo" /> objects are equal.</summary>
1188 <param name="a">The first object to compare.</param>
1189 <param name="b">The second object to compare.</param>
1191 <see langword="true" /> if <paramref name="a" /> is equal to <paramref name="b" />; otherwise, <see langword="false" />.</returns>
1193 <member name="M:System.ConsoleKeyInfo.op_Inequality(System.ConsoleKeyInfo,System.ConsoleKeyInfo)">
1194 <summary>Indicates whether the specified <see cref="T:System.ConsoleKeyInfo" /> objects are not equal.</summary>
1195 <param name="a">The first object to compare.</param>
1196 <param name="b">The second object to compare.</param>
1198 <see langword="true" /> if <paramref name="a" /> is not equal to <paramref name="b" />; otherwise, <see langword="false" />.</returns>
1200 <member name="T:System.ConsoleModifiers">
1201 <summary>Represents the SHIFT, ALT, and CTRL modifier keys on a keyboard.</summary>
1203 <member name="F:System.ConsoleModifiers.Alt">
1204 <summary>The left or right ALT modifier key.</summary>
1206 <member name="F:System.ConsoleModifiers.Control">
1207 <summary>The left or right CTRL modifier key.</summary>
1209 <member name="F:System.ConsoleModifiers.Shift">
1210 <summary>The left or right SHIFT modifier key.</summary>
1212 <member name="T:System.ConsoleSpecialKey">
1213 <summary>Specifies combinations of modifier and console keys that can interrupt the current process.</summary>
1215 <member name="F:System.ConsoleSpecialKey.ControlBreak">
1216 <summary>The <see cref="F:System.ConsoleModifiers.Control" /> modifier key plus the BREAK console key.</summary>
1218 <member name="F:System.ConsoleSpecialKey.ControlC">
1219 <summary>The <see cref="F:System.ConsoleModifiers.Control" /> modifier key plus the <see cref="F:System.ConsoleKey.C" /> console key.</summary>