1 <?xml version="1.0" encoding="utf-8"?><doc>
3 <name>System.Console</name>
6 <member name="T:System.ConsoleKeyInfo">
7 <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>
9 <member name="M:System.ConsoleKeyInfo.#ctor(System.Char,System.ConsoleKey,System.Boolean,System.Boolean,System.Boolean)">
10 <summary>Initializes a new instance of the <see cref="T:System.ConsoleKeyInfo"></see> structure using the specified character, console key, and modifier keys.</summary>
11 <param name="keyChar">The Unicode character that corresponds to the key parameter.</param>
12 <param name="key">The console key that corresponds to the keyChar parameter.</param>
13 <param name="shift"><see langword="true"></see> to indicate that a SHIFT key was pressed; otherwise, <see langword="false"></see>.</param>
14 <param name="alt"><see langword="true"></see> to indicate that an ALT key was pressed; otherwise, <see langword="false"></see>.</param>
15 <param name="control"><see langword="true"></see> to indicate that a CTRL key was pressed; otherwise, <see langword="false"></see>.</param>
16 <exception cref="T:System.ArgumentOutOfRangeException">The numeric value of the <paramref name="key">key</paramref> parameter is less than 0 or greater than 255.</exception>
18 <member name="M:System.ConsoleKeyInfo.Equals(System.ConsoleKeyInfo)">
19 <summary>Gets a value indicating whether the specified <see cref="T:System.ConsoleKeyInfo"></see> object is equal to the current <see cref="T:System.ConsoleKeyInfo"></see> object.</summary>
20 <param name="obj">An object to compare to the current <see cref="T:System.ConsoleKeyInfo"></see> object.</param>
21 <returns><see langword="true"></see> if <paramref name="obj">obj</paramref> is equal to the current <see cref="T:System.ConsoleKeyInfo"></see> object; otherwise, <see langword="false"></see>.</returns>
23 <member name="M:System.ConsoleKeyInfo.Equals(System.Object)">
24 <summary>Gets a value indicating whether the specified object is equal to the current <see cref="T:System.ConsoleKeyInfo"></see> object.</summary>
25 <param name="value">An object to compare to the current <see cref="T:System.ConsoleKeyInfo"></see> object.</param>
26 <returns><see langword="true"></see> if <paramref name="value">value</paramref> is a <see cref="T:System.ConsoleKeyInfo"></see> object and is equal to the current <see cref="T:System.ConsoleKeyInfo"></see> object; otherwise, <see langword="false"></see>.</returns>
28 <member name="M:System.ConsoleKeyInfo.GetHashCode">
29 <summary>Returns the hash code for the current <see cref="T:System.ConsoleKeyInfo"></see> object.</summary>
30 <returns>A 32-bit signed integer hash code.</returns>
32 <member name="P:System.ConsoleKeyInfo.Key">
33 <summary>Gets the console key represented by the current <see cref="T:System.ConsoleKeyInfo"></see> object.</summary>
34 <returns>A value that identifies the console key that was pressed.</returns>
36 <member name="P:System.ConsoleKeyInfo.KeyChar">
37 <summary>Gets the Unicode character represented by the current <see cref="T:System.ConsoleKeyInfo"></see> object.</summary>
38 <returns>An object that corresponds to the console key represented by the current <see cref="T:System.ConsoleKeyInfo"></see> object.</returns>
40 <member name="P:System.ConsoleKeyInfo.Modifiers">
41 <summary>Gets a bitwise combination of <see cref="T:System.ConsoleModifiers"></see> values that specifies one or more modifier keys pressed simultaneously with the console key.</summary>
42 <returns>A bitwise combination of the enumeration values. There is no default value.</returns>
44 <member name="M:System.ConsoleKeyInfo.op_Equality(System.ConsoleKeyInfo,System.ConsoleKeyInfo)">
45 <summary>Indicates whether the specified <see cref="T:System.ConsoleKeyInfo"></see> objects are equal.</summary>
46 <param name="a">The first object to compare.</param>
47 <param name="b">The second object to compare.</param>
48 <returns><see langword="true"></see> if <paramref name="a">a</paramref> is equal to <paramref name="b">b</paramref>; otherwise, <see langword="false"></see>.</returns>
50 <member name="M:System.ConsoleKeyInfo.op_Inequality(System.ConsoleKeyInfo,System.ConsoleKeyInfo)">
51 <summary>Indicates whether the specified <see cref="T:System.ConsoleKeyInfo"></see> objects are not equal.</summary>
52 <param name="a">The first object to compare.</param>
53 <param name="b">The second object to compare.</param>
54 <returns><see langword="true"></see> if <paramref name="a">a</paramref> is not equal to <paramref name="b">b</paramref>; otherwise, <see langword="false"></see>.</returns>
56 <member name="T:System.ConsoleKey">
57 <summary>Specifies the standard keys on a console.</summary>
59 <member name="F:System.ConsoleKey.A">
60 <summary>The A key.</summary>
63 <member name="F:System.ConsoleKey.Add">
64 <summary>The Add key (the addition key on the numeric keypad).</summary>
67 <member name="F:System.ConsoleKey.Applications">
68 <summary>The Application key (Microsoft Natural Keyboard).</summary>
71 <member name="F:System.ConsoleKey.Attention">
72 <summary>The ATTN key.</summary>
75 <member name="F:System.ConsoleKey.B">
76 <summary>The B key.</summary>
79 <member name="F:System.ConsoleKey.Backspace">
80 <summary>The BACKSPACE key.</summary>
83 <member name="F:System.ConsoleKey.BrowserBack">
84 <summary>The Browser Back key (Windows 2000 or later).</summary>
87 <member name="F:System.ConsoleKey.BrowserFavorites">
88 <summary>The Browser Favorites key (Windows 2000 or later).</summary>
91 <member name="F:System.ConsoleKey.BrowserForward">
92 <summary>The Browser Forward key (Windows 2000 or later).</summary>
95 <member name="F:System.ConsoleKey.BrowserHome">
96 <summary>The Browser Home key (Windows 2000 or later).</summary>
99 <member name="F:System.ConsoleKey.BrowserRefresh">
100 <summary>The Browser Refresh key (Windows 2000 or later).</summary>
103 <member name="F:System.ConsoleKey.BrowserSearch">
104 <summary>The Browser Search key (Windows 2000 or later).</summary>
107 <member name="F:System.ConsoleKey.BrowserStop">
108 <summary>The Browser Stop key (Windows 2000 or later).</summary>
111 <member name="F:System.ConsoleKey.C">
112 <summary>The C key.</summary>
115 <member name="F:System.ConsoleKey.Clear">
116 <summary>The CLEAR key.</summary>
119 <member name="F:System.ConsoleKey.CrSel">
120 <summary>The CRSEL (CURSOR SELECT) key.</summary>
123 <member name="F:System.ConsoleKey.D">
124 <summary>The D key.</summary>
127 <member name="F:System.ConsoleKey.D0">
128 <summary>The 0 key.</summary>
131 <member name="F:System.ConsoleKey.D1">
132 <summary>The 1 key.</summary>
135 <member name="F:System.ConsoleKey.D2">
136 <summary>The 2 key.</summary>
139 <member name="F:System.ConsoleKey.D3">
140 <summary>The 3 key.</summary>
143 <member name="F:System.ConsoleKey.D4">
144 <summary>The 4 key.</summary>
147 <member name="F:System.ConsoleKey.D5">
148 <summary>The 5 key.</summary>
151 <member name="F:System.ConsoleKey.D6">
152 <summary>The 6 key.</summary>
155 <member name="F:System.ConsoleKey.D7">
156 <summary>The 7 key.</summary>
159 <member name="F:System.ConsoleKey.D8">
160 <summary>The 8 key.</summary>
163 <member name="F:System.ConsoleKey.D9">
164 <summary>The 9 key.</summary>
167 <member name="F:System.ConsoleKey.Decimal">
168 <summary>The Decimal key (the decimal key on the numeric keypad).</summary>
171 <member name="F:System.ConsoleKey.Delete">
172 <summary>The DEL (DELETE) key.</summary>
175 <member name="F:System.ConsoleKey.Divide">
176 <summary>The Divide key (the division key on the numeric keypad).</summary>
179 <member name="F:System.ConsoleKey.DownArrow">
180 <summary>The DOWN ARROW key.</summary>
183 <member name="F:System.ConsoleKey.E">
184 <summary>The E key.</summary>
187 <member name="F:System.ConsoleKey.End">
188 <summary>The END key.</summary>
191 <member name="F:System.ConsoleKey.Enter">
192 <summary>The ENTER key.</summary>
195 <member name="F:System.ConsoleKey.EraseEndOfFile">
196 <summary>The ERASE EOF key.</summary>
199 <member name="F:System.ConsoleKey.Escape">
200 <summary>The ESC (ESCAPE) key.</summary>
203 <member name="F:System.ConsoleKey.Execute">
204 <summary>The EXECUTE key.</summary>
207 <member name="F:System.ConsoleKey.ExSel">
208 <summary>The EXSEL (EXTEND SELECTION) key.</summary>
211 <member name="F:System.ConsoleKey.F">
212 <summary>The F key.</summary>
215 <member name="F:System.ConsoleKey.F1">
216 <summary>The F1 key.</summary>
219 <member name="F:System.ConsoleKey.F10">
220 <summary>The F10 key.</summary>
223 <member name="F:System.ConsoleKey.F11">
224 <summary>The F11 key.</summary>
227 <member name="F:System.ConsoleKey.F12">
228 <summary>The F12 key.</summary>
231 <member name="F:System.ConsoleKey.F13">
232 <summary>The F13 key.</summary>
235 <member name="F:System.ConsoleKey.F14">
236 <summary>The F14 key.</summary>
239 <member name="F:System.ConsoleKey.F15">
240 <summary>The F15 key.</summary>
243 <member name="F:System.ConsoleKey.F16">
244 <summary>The F16 key.</summary>
247 <member name="F:System.ConsoleKey.F17">
248 <summary>The F17 key.</summary>
251 <member name="F:System.ConsoleKey.F18">
252 <summary>The F18 key.</summary>
255 <member name="F:System.ConsoleKey.F19">
256 <summary>The F19 key.</summary>
259 <member name="F:System.ConsoleKey.F2">
260 <summary>The F2 key.</summary>
263 <member name="F:System.ConsoleKey.F20">
264 <summary>The F20 key.</summary>
267 <member name="F:System.ConsoleKey.F21">
268 <summary>The F21 key.</summary>
271 <member name="F:System.ConsoleKey.F22">
272 <summary>The F22 key.</summary>
275 <member name="F:System.ConsoleKey.F23">
276 <summary>The F23 key.</summary>
279 <member name="F:System.ConsoleKey.F24">
280 <summary>The F24 key.</summary>
283 <member name="F:System.ConsoleKey.F3">
284 <summary>The F3 key.</summary>
287 <member name="F:System.ConsoleKey.F4">
288 <summary>The F4 key.</summary>
291 <member name="F:System.ConsoleKey.F5">
292 <summary>The F5 key.</summary>
295 <member name="F:System.ConsoleKey.F6">
296 <summary>The F6 key.</summary>
299 <member name="F:System.ConsoleKey.F7">
300 <summary>The F7 key.</summary>
303 <member name="F:System.ConsoleKey.F8">
304 <summary>The F8 key.</summary>
307 <member name="F:System.ConsoleKey.F9">
308 <summary>The F9 key.</summary>
311 <member name="F:System.ConsoleKey.G">
312 <summary>The G key.</summary>
315 <member name="F:System.ConsoleKey.H">
316 <summary>The H key.</summary>
319 <member name="F:System.ConsoleKey.Help">
320 <summary>The HELP key.</summary>
323 <member name="F:System.ConsoleKey.Home">
324 <summary>The HOME key.</summary>
327 <member name="F:System.ConsoleKey.I">
328 <summary>The I key.</summary>
331 <member name="F:System.ConsoleKey.Insert">
332 <summary>The INS (INSERT) key.</summary>
335 <member name="F:System.ConsoleKey.J">
336 <summary>The J key.</summary>
339 <member name="F:System.ConsoleKey.K">
340 <summary>The K key.</summary>
343 <member name="F:System.ConsoleKey.L">
344 <summary>The L key.</summary>
347 <member name="F:System.ConsoleKey.LaunchApp1">
348 <summary>The Start Application 1 key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
351 <member name="F:System.ConsoleKey.LaunchApp2">
352 <summary>The Start Application 2 key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
355 <member name="F:System.ConsoleKey.LaunchMail">
356 <summary>The Start Mail key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
359 <member name="F:System.ConsoleKey.LaunchMediaSelect">
360 <summary>The Select Media key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
363 <member name="F:System.ConsoleKey.LeftArrow">
364 <summary>The LEFT ARROW key.</summary>
367 <member name="F:System.ConsoleKey.LeftWindows">
368 <summary>The left Windows logo key (Microsoft Natural Keyboard).</summary>
371 <member name="F:System.ConsoleKey.M">
372 <summary>The M key.</summary>
375 <member name="F:System.ConsoleKey.MediaNext">
376 <summary>The Media Next Track key (Windows 2000 or later).</summary>
379 <member name="F:System.ConsoleKey.MediaPlay">
380 <summary>The Media Play/Pause key (Windows 2000 or later).</summary>
383 <member name="F:System.ConsoleKey.MediaPrevious">
384 <summary>The Media Previous Track key (Windows 2000 or later).</summary>
387 <member name="F:System.ConsoleKey.MediaStop">
388 <summary>The Media Stop key (Windows 2000 or later).</summary>
391 <member name="F:System.ConsoleKey.Multiply">
392 <summary>The Multiply key (the multiplication key on the numeric keypad).</summary>
395 <member name="F:System.ConsoleKey.N">
396 <summary>The N key.</summary>
399 <member name="F:System.ConsoleKey.NoName">
400 <summary>A constant reserved for future use.</summary>
403 <member name="F:System.ConsoleKey.NumPad0">
404 <summary>The 0 key on the numeric keypad.</summary>
407 <member name="F:System.ConsoleKey.NumPad1">
408 <summary>The 1 key on the numeric keypad.</summary>
411 <member name="F:System.ConsoleKey.NumPad2">
412 <summary>The 2 key on the numeric keypad.</summary>
415 <member name="F:System.ConsoleKey.NumPad3">
416 <summary>The 3 key on the numeric keypad.</summary>
419 <member name="F:System.ConsoleKey.NumPad4">
420 <summary>The 4 key on the numeric keypad.</summary>
423 <member name="F:System.ConsoleKey.NumPad5">
424 <summary>The 5 key on the numeric keypad.</summary>
427 <member name="F:System.ConsoleKey.NumPad6">
428 <summary>The 6 key on the numeric keypad.</summary>
431 <member name="F:System.ConsoleKey.NumPad7">
432 <summary>The 7 key on the numeric keypad.</summary>
435 <member name="F:System.ConsoleKey.NumPad8">
436 <summary>The 8 key on the numeric keypad.</summary>
439 <member name="F:System.ConsoleKey.NumPad9">
440 <summary>The 9 key on the numeric keypad.</summary>
443 <member name="F:System.ConsoleKey.O">
444 <summary>The O key.</summary>
447 <member name="F:System.ConsoleKey.Oem1">
448 <summary>The OEM 1 key (OEM specific).</summary>
451 <member name="F:System.ConsoleKey.Oem102">
452 <summary>The OEM 102 key (OEM specific).</summary>
455 <member name="F:System.ConsoleKey.Oem2">
456 <summary>The OEM 2 key (OEM specific).</summary>
459 <member name="F:System.ConsoleKey.Oem3">
460 <summary>The OEM 3 key (OEM specific).</summary>
463 <member name="F:System.ConsoleKey.Oem4">
464 <summary>The OEM 4 key (OEM specific).</summary>
467 <member name="F:System.ConsoleKey.Oem5">
468 <summary>The OEM 5 (OEM specific).</summary>
471 <member name="F:System.ConsoleKey.Oem6">
472 <summary>The OEM 6 key (OEM specific).</summary>
475 <member name="F:System.ConsoleKey.Oem7">
476 <summary>The OEM 7 key (OEM specific).</summary>
479 <member name="F:System.ConsoleKey.Oem8">
480 <summary>The OEM 8 key (OEM specific).</summary>
483 <member name="F:System.ConsoleKey.OemClear">
484 <summary>The CLEAR key (OEM specific).</summary>
487 <member name="F:System.ConsoleKey.OemComma">
488 <summary>The OEM Comma key on any country/region keyboard (Windows 2000 or later).</summary>
491 <member name="F:System.ConsoleKey.OemMinus">
492 <summary>The OEM Minus key on any country/region keyboard (Windows 2000 or later).</summary>
495 <member name="F:System.ConsoleKey.OemPeriod">
496 <summary>The OEM Period key on any country/region keyboard (Windows 2000 or later).</summary>
499 <member name="F:System.ConsoleKey.OemPlus">
500 <summary>The OEM Plus key on any country/region keyboard (Windows 2000 or later).</summary>
503 <member name="F:System.ConsoleKey.P">
504 <summary>The P key.</summary>
507 <member name="F:System.ConsoleKey.Pa1">
508 <summary>The PA1 key.</summary>
511 <member name="F:System.ConsoleKey.Packet">
512 <summary>The PACKET key (used to pass Unicode characters with keystrokes).</summary>
515 <member name="F:System.ConsoleKey.PageDown">
516 <summary>The PAGE DOWN key.</summary>
519 <member name="F:System.ConsoleKey.PageUp">
520 <summary>The PAGE UP key.</summary>
523 <member name="F:System.ConsoleKey.Pause">
524 <summary>The PAUSE key.</summary>
527 <member name="F:System.ConsoleKey.Play">
528 <summary>The PLAY key.</summary>
531 <member name="F:System.ConsoleKey.Print">
532 <summary>The PRINT key.</summary>
535 <member name="F:System.ConsoleKey.PrintScreen">
536 <summary>The PRINT SCREEN key.</summary>
539 <member name="F:System.ConsoleKey.Process">
540 <summary>The IME PROCESS key.</summary>
543 <member name="F:System.ConsoleKey.Q">
544 <summary>The Q key.</summary>
547 <member name="F:System.ConsoleKey.R">
548 <summary>The R key.</summary>
551 <member name="F:System.ConsoleKey.RightArrow">
552 <summary>The RIGHT ARROW key.</summary>
555 <member name="F:System.ConsoleKey.RightWindows">
556 <summary>The right Windows logo key (Microsoft Natural Keyboard).</summary>
559 <member name="F:System.ConsoleKey.S">
560 <summary>The S key.</summary>
563 <member name="F:System.ConsoleKey.Select">
564 <summary>The SELECT key.</summary>
567 <member name="F:System.ConsoleKey.Separator">
568 <summary>The Separator key.</summary>
571 <member name="F:System.ConsoleKey.Sleep">
572 <summary>The Computer Sleep key.</summary>
575 <member name="F:System.ConsoleKey.Spacebar">
576 <summary>The SPACEBAR key.</summary>
579 <member name="F:System.ConsoleKey.Subtract">
580 <summary>The Subtract key (the subtraction key on the numeric keypad).</summary>
583 <member name="F:System.ConsoleKey.T">
584 <summary>The T key.</summary>
587 <member name="F:System.ConsoleKey.Tab">
588 <summary>The TAB key.</summary>
591 <member name="F:System.ConsoleKey.U">
592 <summary>The U key.</summary>
595 <member name="F:System.ConsoleKey.UpArrow">
596 <summary>The UP ARROW key.</summary>
599 <member name="F:System.ConsoleKey.V">
600 <summary>The V key.</summary>
603 <member name="F:System.ConsoleKey.VolumeDown">
604 <summary>The Volume Down key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
607 <member name="F:System.ConsoleKey.VolumeMute">
608 <summary>The Volume Mute key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
611 <member name="F:System.ConsoleKey.VolumeUp">
612 <summary>The Volume Up key (Microsoft Natural Keyboard, Windows 2000 or later).</summary>
615 <member name="F:System.ConsoleKey.W">
616 <summary>The W key.</summary>
619 <member name="F:System.ConsoleKey.X">
620 <summary>The X key.</summary>
623 <member name="F:System.ConsoleKey.Y">
624 <summary>The Y key.</summary>
627 <member name="F:System.ConsoleKey.Z">
628 <summary>The Z key.</summary>
631 <member name="F:System.ConsoleKey.Zoom">
632 <summary>The ZOOM key.</summary>
635 <member name="T:System.ConsoleColor">
636 <summary>Specifies constants that define foreground and background colors for the console.</summary>
638 <member name="F:System.ConsoleColor.Black">
639 <summary>The color black.</summary>
642 <member name="F:System.ConsoleColor.Blue">
643 <summary>The color blue.</summary>
646 <member name="F:System.ConsoleColor.Cyan">
647 <summary>The color cyan (blue-green).</summary>
650 <member name="F:System.ConsoleColor.DarkBlue">
651 <summary>The color dark blue.</summary>
654 <member name="F:System.ConsoleColor.DarkCyan">
655 <summary>The color dark cyan (dark blue-green).</summary>
658 <member name="F:System.ConsoleColor.DarkGray">
659 <summary>The color dark gray.</summary>
662 <member name="F:System.ConsoleColor.DarkGreen">
663 <summary>The color dark green.</summary>
666 <member name="F:System.ConsoleColor.DarkMagenta">
667 <summary>The color dark magenta (dark purplish-red).</summary>
670 <member name="F:System.ConsoleColor.DarkRed">
671 <summary>The color dark red.</summary>
674 <member name="F:System.ConsoleColor.DarkYellow">
675 <summary>The color dark yellow (ochre).</summary>
678 <member name="F:System.ConsoleColor.Gray">
679 <summary>The color gray.</summary>
682 <member name="F:System.ConsoleColor.Green">
683 <summary>The color green.</summary>
686 <member name="F:System.ConsoleColor.Magenta">
687 <summary>The color magenta (purplish-red).</summary>
690 <member name="F:System.ConsoleColor.Red">
691 <summary>The color red.</summary>
694 <member name="F:System.ConsoleColor.White">
695 <summary>The color white.</summary>
698 <member name="F:System.ConsoleColor.Yellow">
699 <summary>The color yellow.</summary>
702 <member name="T:System.ConsoleCancelEventHandler">
703 <summary>Represents the method that will handle the <see cref="E:System.Console.CancelKeyPress"></see> event of a <see cref="T:System.Console"></see>.</summary>
704 <param name="sender">The source of the event.</param>
705 <param name="e">A <see cref="T:System.ConsoleCancelEventArgs"></see> object that contains the event data.</param>
707 <member name="T:System.ConsoleCancelEventArgs">
708 <summary>Provides data for the <see cref="E:System.Console.CancelKeyPress"></see> event. This class cannot be inherited.</summary>
710 <member name="P:System.ConsoleCancelEventArgs.Cancel">
711 <summary>Gets or sets a value that indicates whether simultaneously pressing the <see cref="F:System.ConsoleModifiers.Control"></see> modifier key and the <see cref="F:System.ConsoleKey.C"></see> console key (Ctrl+C) or the Ctrl+Break keys terminates the current process. The default is <see langword="false"></see>, which terminates the current process.</summary>
712 <returns><see langword="true"></see> if the current process should resume when the event handler concludes; <see langword="false"></see> if the current process should terminate. The default value is <see langword="false"></see>; the current process terminates when the event handler returns. If <see langword="true"></see>, the current process continues.</returns>
714 <member name="P:System.ConsoleCancelEventArgs.SpecialKey">
715 <summary>Gets the combination of modifier and console keys that interrupted the current process.</summary>
716 <returns>One of the enumeration values that specifies the key combination that interrupted the current process. There is no default value.</returns>
718 <member name="T:System.Console">
719 <summary>Represents the standard input, output, and error streams for console applications. This class cannot be inherited.</summary>
721 <member name="P:System.Console.BackgroundColor">
722 <summary>Gets or sets the background color of the console.</summary>
723 <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>
724 <exception cref="T:System.ArgumentException">The color specified in a set operation is not a valid member of <see cref="System.ConsoleColor"></see>.</exception>
725 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
726 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
728 <member name="M:System.Console.Beep">
729 <summary>Plays the sound of a beep through the console speaker.</summary>
730 <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>
732 <member name="M:System.Console.Beep(System.Int32,System.Int32)">
733 <summary>Plays the sound of a beep of a specified frequency and duration through the console speaker.</summary>
734 <param name="frequency">The frequency of the beep, ranging from 37 to 32767 hertz.</param>
735 <param name="duration">The duration of the beep measured in milliseconds.</param>
736 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="frequency">frequency</paramref> is less than 37 or more than 32767 hertz.
738 <paramref name="duration">duration</paramref> is less than or equal to zero.</exception>
739 <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>
741 <member name="P:System.Console.BufferHeight">
742 <summary>Gets or sets the height of the buffer area.</summary>
743 <returns>The current height, in rows, of the buffer area.</returns>
744 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than or equal to zero.
746 The value in a set operation is greater than or equal to <see cref="System.Int16.MaxValue"></see>.
748 The value in a set operation is less than <see cref="System.Console.WindowTop"></see> + <see cref="System.Console.WindowHeight"></see>.</exception>
749 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
750 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
752 <member name="P:System.Console.BufferWidth">
753 <summary>Gets or sets the width of the buffer area.</summary>
754 <returns>The current width, in columns, of the buffer area.</returns>
755 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than or equal to zero.
757 The value in a set operation is greater than or equal to <see cref="System.Int16.MaxValue"></see>.
759 The value in a set operation is less than <see cref="System.Console.WindowLeft"></see> + <see cref="System.Console.WindowWidth"></see>.</exception>
760 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
761 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
763 <member name="E:System.Console.CancelKeyPress">
764 <summary>Occurs when the <see cref="F:System.ConsoleModifiers.Control"></see> modifier key (Ctrl) and either the <see cref="F:System.ConsoleKey.C"></see> console key (C) or the Break key are pressed simultaneously (Ctrl+C or Ctrl+Break).</summary>
766 <member name="P:System.Console.CapsLock">
767 <summary>Gets a value indicating whether the CAPS LOCK keyboard toggle is turned on or turned off.</summary>
768 <returns><see langword="true"></see> if CAPS LOCK is turned on; <see langword="false"></see> if CAPS LOCK is turned off.</returns>
770 <member name="M:System.Console.Clear">
771 <summary>Clears the console buffer and corresponding console window of display information.</summary>
772 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
774 <member name="P:System.Console.CursorLeft">
775 <summary>Gets or sets the column position of the cursor within the buffer area.</summary>
776 <returns>The current position, in columns, of the cursor.</returns>
777 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than zero.
779 The value in a set operation is greater than or equal to <see cref="System.Console.BufferWidth"></see>.</exception>
780 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
781 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
783 <member name="P:System.Console.CursorSize">
784 <summary>Gets or sets the height of the cursor within a character cell.</summary>
785 <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>
786 <exception cref="T:System.ArgumentOutOfRangeException">The value specified in a set operation is less than 1 or greater than 100.</exception>
787 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
788 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
790 <member name="P:System.Console.CursorTop">
791 <summary>Gets or sets the row position of the cursor within the buffer area.</summary>
792 <returns>The current position, in rows, of the cursor.</returns>
793 <exception cref="T:System.ArgumentOutOfRangeException">The value in a set operation is less than zero.
795 The value in a set operation is greater than or equal to <see cref="System.Console.BufferHeight"></see>.</exception>
796 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
797 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
799 <member name="P:System.Console.CursorVisible">
800 <summary>Gets or sets a value indicating whether the cursor is visible.</summary>
801 <returns><see langword="true"></see> if the cursor is visible; otherwise, <see langword="false"></see>.</returns>
802 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
803 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
805 <member name="P:System.Console.Error">
806 <summary>Gets the standard error output stream.</summary>
807 <returns>A <see cref="T:System.IO.TextWriter"></see> that represents the standard error output stream.</returns>
809 <member name="P:System.Console.ForegroundColor">
810 <summary>Gets or sets the foreground color of the console.</summary>
811 <returns>A <see cref="T:System.ConsoleColor"></see> that specifies the foreground color of the console; that is, the color of each character that is displayed. The default is gray.</returns>
812 <exception cref="T:System.ArgumentException">The color specified in a set operation is not a valid member of <see cref="System.ConsoleColor"></see>.</exception>
813 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
814 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
816 <member name="P:System.Console.In">
817 <summary>Gets the standard input stream.</summary>
818 <returns>A <see cref="T:System.IO.TextReader"></see> that represents the standard input stream.</returns>
820 <member name="P:System.Console.InputEncoding">
821 <summary>Gets or sets the encoding the console uses to read input.</summary>
822 <returns>The encoding used to read console input.</returns>
823 <exception cref="T:System.ArgumentNullException">The property value in a set operation is <see langword="null"></see>.</exception>
824 <exception cref="T:System.IO.IOException">An error occurred during the execution of this operation.</exception>
825 <exception cref="T:System.Security.SecurityException">Your application does not have permission to perform this operation.</exception>
827 <member name="P:System.Console.IsErrorRedirected">
828 <summary>Gets a value that indicates whether the error output stream has been redirected from the standard error stream.</summary>
829 <returns><see langword="true"></see> if error output is redirected; otherwise, <see langword="false"></see>.</returns>
831 <member name="P:System.Console.IsInputRedirected">
832 <summary>Gets a value that indicates whether input has been redirected from the standard input stream.</summary>
833 <returns><see langword="true"></see> if input is redirected; otherwise, <see langword="false"></see>.</returns>
835 <member name="P:System.Console.IsOutputRedirected">
836 <summary>Gets a value that indicates whether output has been redirected from the standard output stream.</summary>
837 <returns><see langword="true"></see> if output is redirected; otherwise, <see langword="false"></see>.</returns>
839 <member name="P:System.Console.KeyAvailable">
840 <summary>Gets a value indicating whether a key press is available in the input stream.</summary>
841 <returns><see langword="true"></see> if a key press is available; otherwise, <see langword="false"></see>.</returns>
842 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
843 <exception cref="T:System.InvalidOperationException">Standard input is redirected to a file instead of the keyboard.</exception>
845 <member name="P:System.Console.LargestWindowHeight">
846 <summary>Gets the largest possible number of console window rows, based on the current font and screen resolution.</summary>
847 <returns>The height of the largest possible console window measured in rows.</returns>
849 <member name="P:System.Console.LargestWindowWidth">
850 <summary>Gets the largest possible number of console window columns, based on the current font and screen resolution.</summary>
851 <returns>The width of the largest possible console window measured in columns.</returns>
853 <member name="M:System.Console.MoveBufferArea(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
854 <summary>Copies a specified source area of the screen buffer to a specified destination area.</summary>
855 <param name="sourceLeft">The leftmost column of the source area.</param>
856 <param name="sourceTop">The topmost row of the source area.</param>
857 <param name="sourceWidth">The number of columns in the source area.</param>
858 <param name="sourceHeight">The number of rows in the source area.</param>
859 <param name="targetLeft">The leftmost column of the destination area.</param>
860 <param name="targetTop">The topmost row of the destination area.</param>
861 <exception cref="T:System.ArgumentOutOfRangeException">One or more of the parameters is less than zero.
863 <paramref name="sourceLeft">sourceLeft</paramref> or <paramref name="targetLeft">targetLeft</paramref> is greater than or equal to <see cref="System.Console.BufferWidth"></see>.
865 <paramref name="sourceTop">sourceTop</paramref> or <paramref name="targetTop">targetTop</paramref> is greater than or equal to <see cref="System.Console.BufferHeight"></see>.
867 <paramref name="sourceTop">sourceTop</paramref> + <paramref name="sourceHeight">sourceHeight</paramref> is greater than or equal to <see cref="System.Console.BufferHeight"></see>.
869 <paramref name="sourceLeft">sourceLeft</paramref> + <paramref name="sourceWidth">sourceWidth</paramref> is greater than or equal to <see cref="System.Console.BufferWidth"></see>.</exception>
870 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
871 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
873 <member name="M:System.Console.MoveBufferArea(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Char,System.ConsoleColor,System.ConsoleColor)">
874 <summary>Copies a specified source area of the screen buffer to a specified destination area.</summary>
875 <param name="sourceLeft">The leftmost column of the source area.</param>
876 <param name="sourceTop">The topmost row of the source area.</param>
877 <param name="sourceWidth">The number of columns in the source area.</param>
878 <param name="sourceHeight">The number of rows in the source area.</param>
879 <param name="targetLeft">The leftmost column of the destination area.</param>
880 <param name="targetTop">The topmost row of the destination area.</param>
881 <param name="sourceChar">The character used to fill the source area.</param>
882 <param name="sourceForeColor">The foreground color used to fill the source area.</param>
883 <param name="sourceBackColor">The background color used to fill the source area.</param>
884 <exception cref="T:System.ArgumentOutOfRangeException">One or more of the parameters is less than zero.
886 <paramref name="sourceLeft">sourceLeft</paramref> or <paramref name="targetLeft">targetLeft</paramref> is greater than or equal to <see cref="System.Console.BufferWidth"></see>.
888 <paramref name="sourceTop">sourceTop</paramref> or <paramref name="targetTop">targetTop</paramref> is greater than or equal to <see cref="System.Console.BufferHeight"></see>.
890 <paramref name="sourceTop">sourceTop</paramref> + <paramref name="sourceHeight">sourceHeight</paramref> is greater than or equal to <see cref="System.Console.BufferHeight"></see>.
892 <paramref name="sourceLeft">sourceLeft</paramref> + <paramref name="sourceWidth">sourceWidth</paramref> is greater than or equal to <see cref="System.Console.BufferWidth"></see>.</exception>
893 <exception cref="T:System.ArgumentException">One or both of the color parameters is not a member of the <see cref="System.ConsoleColor"></see> enumeration.</exception>
894 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
895 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
897 <member name="P:System.Console.NumberLock">
898 <summary>Gets a value indicating whether the NUM LOCK keyboard toggle is turned on or turned off.</summary>
899 <returns><see langword="true"></see> if NUM LOCK is turned on; <see langword="false"></see> if NUM LOCK is turned off.</returns>
901 <member name="M:System.Console.OpenStandardError">
902 <summary>Acquires the standard error stream.</summary>
903 <returns>The standard error stream.</returns>
905 <member name="M:System.Console.OpenStandardError(System.Int32)">
906 <summary>Acquires the standard error stream, which is set to a specified buffer size.</summary>
907 <param name="bufferSize">The internal stream buffer size.</param>
908 <returns>The standard error stream.</returns>
909 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="bufferSize">bufferSize</paramref> is less than or equal to zero.</exception>
911 <member name="M:System.Console.OpenStandardInput">
912 <summary>Acquires the standard input stream.</summary>
913 <returns>The standard input stream.</returns>
915 <member name="M:System.Console.OpenStandardInput(System.Int32)">
916 <summary>Acquires the standard input stream, which is set to a specified buffer size.</summary>
917 <param name="bufferSize">The internal stream buffer size.</param>
918 <returns>The standard input stream.</returns>
919 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="bufferSize">bufferSize</paramref> is less than or equal to zero.</exception>
921 <member name="M:System.Console.OpenStandardOutput">
922 <summary>Acquires the standard output stream.</summary>
923 <returns>The standard output stream.</returns>
925 <member name="M:System.Console.OpenStandardOutput(System.Int32)">
926 <summary>Acquires the standard output stream, which is set to a specified buffer size.</summary>
927 <param name="bufferSize">The internal stream buffer size.</param>
928 <returns>The standard output stream.</returns>
929 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="bufferSize">bufferSize</paramref> is less than or equal to zero.</exception>
931 <member name="P:System.Console.Out">
932 <summary>Gets the standard output stream.</summary>
933 <returns>A <see cref="T:System.IO.TextWriter"></see> that represents the standard output stream.</returns>
935 <member name="P:System.Console.OutputEncoding">
936 <summary>Gets or sets the encoding the console uses to write output.</summary>
937 <returns>The encoding used to write console output.</returns>
938 <exception cref="T:System.ArgumentNullException">The property value in a set operation is <see langword="null"></see>.</exception>
939 <exception cref="T:System.IO.IOException">An error occurred during the execution of this operation.</exception>
940 <exception cref="T:System.Security.SecurityException">Your application does not have permission to perform this operation.</exception>
942 <member name="M:System.Console.Read">
943 <summary>Reads the next character from the standard input stream.</summary>
944 <returns>The next character from the input stream, or negative one (-1) if there are currently no more characters to be read.</returns>
945 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
947 <member name="M:System.Console.ReadKey">
948 <summary>Obtains the next character or function key pressed by the user. The pressed key is displayed in the console window.</summary>
949 <returns>An object that describes the <see cref="T:System.ConsoleKey"></see> constant and Unicode character, if any, that correspond to the pressed console key. The <see cref="T:System.ConsoleKeyInfo"></see> object also describes, in a bitwise combination of <see cref="T:System.ConsoleModifiers"></see> values, whether one or more Shift, Alt, or Ctrl modifier keys was pressed simultaneously with the console key.</returns>
950 <exception cref="T:System.InvalidOperationException">The <see cref="System.Console.In"></see> property is redirected from some stream other than the console.</exception>
952 <member name="M:System.Console.ReadKey(System.Boolean)">
953 <summary>Obtains the next character or function key pressed by the user. The pressed key is optionally displayed in the console window.</summary>
954 <param name="intercept">Determines whether to display the pressed key in the console window. <see langword="true"></see> to not display the pressed key; otherwise, <see langword="false"></see>.</param>
955 <returns>An object that describes the <see cref="T:System.ConsoleKey"></see> constant and Unicode character, if any, that correspond to the pressed console key. The <see cref="T:System.ConsoleKeyInfo"></see> object also describes, in a bitwise combination of <see cref="T:System.ConsoleModifiers"></see> values, whether one or more Shift, Alt, or Ctrl modifier keys was pressed simultaneously with the console key.</returns>
956 <exception cref="T:System.InvalidOperationException">The <see cref="System.Console.In"></see> property is redirected from some stream other than the console.</exception>
958 <member name="M:System.Console.ReadLine">
959 <summary>Reads the next line of characters from the standard input stream.</summary>
960 <returns>The next line of characters from the input stream, or <see langword="null"></see> if no more lines are available.</returns>
961 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
962 <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string.</exception>
963 <exception cref="T:System.ArgumentOutOfRangeException">The number of characters in the next line of characters is greater than <see cref="System.Int32.MaxValue"></see>.</exception>
965 <member name="M:System.Console.ResetColor">
966 <summary>Sets the foreground and background console colors to their defaults.</summary>
967 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
968 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
970 <member name="M:System.Console.SetBufferSize(System.Int32,System.Int32)">
971 <summary>Sets the height and width of the screen buffer area to the specified values.</summary>
972 <param name="width">The width of the buffer area measured in columns.</param>
973 <param name="height">The height of the buffer area measured in rows.</param>
974 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="height">height</paramref> or <paramref name="width">width</paramref> is less than or equal to zero.
976 <paramref name="height">height</paramref> or <paramref name="width">width</paramref> is greater than or equal to <see cref="System.Int16.MaxValue"></see>.
978 <paramref name="width">width</paramref> is less than <see cref="System.Console.WindowLeft"></see> + <see cref="System.Console.WindowWidth"></see>.
980 <paramref name="height">height</paramref> is less than <see cref="System.Console.WindowTop"></see> + <see cref="System.Console.WindowHeight"></see>.</exception>
981 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
982 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
984 <member name="M:System.Console.SetCursorPosition(System.Int32,System.Int32)">
985 <summary>Sets the position of the cursor.</summary>
986 <param name="left">The column position of the cursor. Columns are numbered from left to right starting at 0.</param>
987 <param name="top">The row position of the cursor. Rows are numbered from top to bottom starting at 0.</param>
988 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="left">left</paramref> or <paramref name="top">top</paramref> is less than zero.
990 <paramref name="left">left</paramref> is greater than or equal to <see cref="System.Console.BufferWidth"></see>.
992 <paramref name="top">top</paramref> is greater than or equal to <see cref="System.Console.BufferHeight"></see>.</exception>
993 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
994 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
996 <member name="M:System.Console.SetError(System.IO.TextWriter)">
997 <summary>Sets the <see cref="P:System.Console.Error"></see> property to the specified <see cref="T:System.IO.TextWriter"></see> object.</summary>
998 <param name="newError">A stream that is the new standard error output.</param>
999 <exception cref="T:System.ArgumentNullException"><paramref name="newError">newError</paramref> is <see langword="null"></see>.</exception>
1000 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
1002 <member name="M:System.Console.SetIn(System.IO.TextReader)">
1003 <summary>Sets the <see cref="P:System.Console.In"></see> property to the specified <see cref="T:System.IO.TextReader"></see> object.</summary>
1004 <param name="newIn">A stream that is the new standard input.</param>
1005 <exception cref="T:System.ArgumentNullException"><paramref name="newIn">newIn</paramref> is <see langword="null"></see>.</exception>
1006 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
1008 <member name="M:System.Console.SetOut(System.IO.TextWriter)">
1009 <summary>Sets the <see cref="P:System.Console.Out"></see> property to the specified <see cref="T:System.IO.TextWriter"></see> object.</summary>
1010 <param name="newOut">A stream that is the new standard output.</param>
1011 <exception cref="T:System.ArgumentNullException"><paramref name="newOut">newOut</paramref> is <see langword="null"></see>.</exception>
1012 <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
1014 <member name="M:System.Console.SetWindowPosition(System.Int32,System.Int32)">
1015 <summary>Sets the position of the console window relative to the screen buffer.</summary>
1016 <param name="left">The column position of the upper left corner of the console window.</param>
1017 <param name="top">The row position of the upper left corner of the console window.</param>
1018 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="left">left</paramref> or <paramref name="top">top</paramref> is less than zero.
1020 <paramref name="left">left</paramref> + <see cref="System.Console.WindowWidth"></see> is greater than <see cref="System.Console.BufferWidth"></see>.
1022 <paramref name="top">top</paramref> + <see cref="System.Console.WindowHeight"></see> is greater than <see cref="System.Console.BufferHeight"></see>.</exception>
1023 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
1024 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1026 <member name="M:System.Console.SetWindowSize(System.Int32,System.Int32)">
1027 <summary>Sets the height and width of the console window to the specified values.</summary>
1028 <param name="width">The width of the console window measured in columns.</param>
1029 <param name="height">The height of the console window measured in rows.</param>
1030 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="width">width</paramref> or <paramref name="height">height</paramref> is less than or equal to zero.
1032 <paramref name="width">width</paramref> plus <see cref="System.Console.WindowLeft"></see> or <paramref name="height">height</paramref> plus <see cref="System.Console.WindowTop"></see> is greater than or equal to <see cref="System.Int16.MaxValue"></see>.
1034 <paramref name="width">width</paramref> or <paramref name="height">height</paramref> is greater than the largest possible window width or height for the current screen resolution and console font.</exception>
1035 <exception cref="T:System.Security.SecurityException">The user does not have permission to perform this action.</exception>
1036 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1038 <member name="P:System.Console.Title">
1039 <summary>Gets or sets the title to display in the console title bar.</summary>
1040 <returns>The string to be displayed in the title bar of the console. The maximum length of the title string is 24500 characters.</returns>
1041 <exception cref="T:System.InvalidOperationException">In a get operation, the retrieved title is longer than 24500 characters.</exception>
1042 <exception cref="T:System.ArgumentOutOfRangeException">In a set operation, the specified title is longer than 24500 characters.</exception>
1043 <exception cref="T:System.ArgumentNullException">In a set operation, the specified title is <see langword="null"></see>.</exception>
1044 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1046 <member name="P:System.Console.TreatControlCAsInput">
1047 <summary>Gets or sets a value indicating whether the combination of the <see cref="F:System.ConsoleModifiers.Control"></see> modifier key and <see cref="F:System.ConsoleKey.C"></see> console key (Ctrl+C) is treated as ordinary input or as an interruption that is handled by the operating system.</summary>
1048 <returns><see langword="true"></see> if Ctrl+C is treated as ordinary input; otherwise, <see langword="false"></see>.</returns>
1049 <exception cref="T:System.IO.IOException">Unable to get or set the input mode of the console input buffer.</exception>
1051 <member name="P:System.Console.WindowHeight">
1052 <summary>Gets or sets the height of the console window area.</summary>
1053 <returns>The height of the console window measured in rows.</returns>
1054 <exception cref="T:System.ArgumentOutOfRangeException">The value of the <see cref="System.Console.WindowWidth"></see> property or the value of the <see cref="System.Console.WindowHeight"></see> property is less than or equal to 0.
1056 The value of the <see cref="System.Console.WindowHeight"></see> property plus the value of the <see cref="System.Console.WindowTop"></see> property is greater than or equal to <see cref="System.Int16.MaxValue"></see>.
1058 The value of the <see cref="System.Console.WindowWidth"></see> property or the value of the <see cref="System.Console.WindowHeight"></see> property is greater than the largest possible window width or height for the current screen resolution and console font.</exception>
1059 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
1061 <member name="P:System.Console.WindowLeft">
1062 <summary>Gets or sets the leftmost position of the console window area relative to the screen buffer.</summary>
1063 <returns>The leftmost console window position measured in columns.</returns>
1064 <exception cref="T:System.ArgumentOutOfRangeException">In a set operation, the value to be assigned is less than zero.
1066 As a result of the assignment, <see cref="System.Console.WindowLeft"></see> plus <see cref="System.Console.WindowWidth"></see> would exceed <see cref="System.Console.BufferWidth"></see>.</exception>
1067 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
1069 <member name="P:System.Console.WindowTop">
1070 <summary>Gets or sets the top position of the console window area relative to the screen buffer.</summary>
1071 <returns>The uppermost console window position measured in rows.</returns>
1072 <exception cref="T:System.ArgumentOutOfRangeException">In a set operation, the value to be assigned is less than zero.
1074 As a result of the assignment, <see cref="System.Console.WindowTop"></see> plus <see cref="System.Console.WindowHeight"></see> would exceed <see cref="System.Console.BufferHeight"></see>.</exception>
1075 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
1077 <member name="P:System.Console.WindowWidth">
1078 <summary>Gets or sets the width of the console window.</summary>
1079 <returns>The width of the console window measured in columns.</returns>
1080 <exception cref="T:System.ArgumentOutOfRangeException">The value of the <see cref="System.Console.WindowWidth"></see> property or the value of the <see cref="System.Console.WindowHeight"></see> property is less than or equal to 0.
1082 The value of the <see cref="System.Console.WindowHeight"></see> property plus the value of the <see cref="System.Console.WindowTop"></see> property is greater than or equal to <see cref="System.Int16.MaxValue"></see>.
1084 The value of the <see cref="System.Console.WindowWidth"></see> property or the value of the <see cref="System.Console.WindowHeight"></see> property is greater than the largest possible window width or height for the current screen resolution and console font.</exception>
1085 <exception cref="T:System.IO.IOException">Error reading or writing information.</exception>
1087 <member name="M:System.Console.Write(System.String,System.Object,System.Object,System.Object)">
1088 <summary>Writes the text representation of the specified objects to the standard output stream using the specified format information.</summary>
1089 <param name="format">A composite format string.</param>
1090 <param name="arg0">The first object to write using format.</param>
1091 <param name="arg1">The second object to write using format.</param>
1092 <param name="arg2">The third object to write using format.</param>
1093 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1094 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is <see langword="null"></see>.</exception>
1095 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
1097 <member name="M:System.Console.Write(System.String,System.Object,System.Object)">
1098 <summary>Writes the text representation of the specified objects to the standard output stream using the specified format information.</summary>
1099 <param name="format">A composite format string.</param>
1100 <param name="arg0">The first object to write using format.</param>
1101 <param name="arg1">The second object to write using format.</param>
1102 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1103 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is <see langword="null"></see>.</exception>
1104 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
1106 <member name="M:System.Console.Write(System.String,System.Object[])">
1107 <summary>Writes the text representation of the specified array of objects to the standard output stream using the specified format information.</summary>
1108 <param name="format">A composite format string.</param>
1109 <param name="arg">An array of objects to write using format.</param>
1110 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1111 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> or <paramref name="arg">arg</paramref> is <see langword="null"></see>.</exception>
1112 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
1114 <member name="M:System.Console.Write(System.String,System.Object)">
1115 <summary>Writes the text representation of the specified object to the standard output stream using the specified format information.</summary>
1116 <param name="format">A composite format string.</param>
1117 <param name="arg0">An object to write using format.</param>
1118 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1119 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is <see langword="null"></see>.</exception>
1120 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
1122 <member name="M:System.Console.Write(System.UInt64)">
1123 <summary>Writes the text representation of the specified 64-bit unsigned integer value to the standard output stream.</summary>
1124 <param name="value">The value to write.</param>
1125 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1127 <member name="M:System.Console.Write(System.UInt32)">
1128 <summary>Writes the text representation of the specified 32-bit unsigned integer value to the standard output stream.</summary>
1129 <param name="value">The value to write.</param>
1130 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1132 <member name="M:System.Console.Write(System.String)">
1133 <summary>Writes the specified string value to the standard output stream.</summary>
1134 <param name="value">The value to write.</param>
1135 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1137 <member name="M:System.Console.Write(System.Char[],System.Int32,System.Int32)">
1138 <summary>Writes the specified subarray of Unicode characters to the standard output stream.</summary>
1139 <param name="buffer">An array of Unicode characters.</param>
1140 <param name="index">The starting position in buffer.</param>
1141 <param name="count">The number of characters to write.</param>
1142 <exception cref="T:System.ArgumentNullException"><paramref name="buffer">buffer</paramref> is <see langword="null"></see>.</exception>
1143 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index">index</paramref> or <paramref name="count">count</paramref> is less than zero.</exception>
1144 <exception cref="T:System.ArgumentException"><paramref name="index">index</paramref> plus <paramref name="count">count</paramref> specify a position that is not within <paramref name="buffer">buffer</paramref>.</exception>
1145 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1147 <member name="M:System.Console.Write(System.Object)">
1148 <summary>Writes the text representation of the specified object to the standard output stream.</summary>
1149 <param name="value">The value to write, or <see langword="null"></see>.</param>
1150 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1152 <member name="M:System.Console.Write(System.Single)">
1153 <summary>Writes the text representation of the specified single-precision floating-point value to the standard output stream.</summary>
1154 <param name="value">The value to write.</param>
1155 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1157 <member name="M:System.Console.Write(System.Char)">
1158 <summary>Writes the specified Unicode character value to the standard output stream.</summary>
1159 <param name="value">The value to write.</param>
1160 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1162 <member name="M:System.Console.Write(System.Char[])">
1163 <summary>Writes the specified array of Unicode characters to the standard output stream.</summary>
1164 <param name="buffer">A Unicode character array.</param>
1165 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1167 <member name="M:System.Console.Write(System.Boolean)">
1168 <summary>Writes the text representation of the specified Boolean value to the standard output stream.</summary>
1169 <param name="value">The value to write.</param>
1170 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1172 <member name="M:System.Console.Write(System.Double)">
1173 <summary>Writes the text representation of the specified double-precision floating-point value to the standard output stream.</summary>
1174 <param name="value">The value to write.</param>
1175 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1177 <member name="M:System.Console.Write(System.Int32)">
1178 <summary>Writes the text representation of the specified 32-bit signed integer value to the standard output stream.</summary>
1179 <param name="value">The value to write.</param>
1180 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1182 <member name="M:System.Console.Write(System.Int64)">
1183 <summary>Writes the text representation of the specified 64-bit signed integer value to the standard output stream.</summary>
1184 <param name="value">The value to write.</param>
1185 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1187 <member name="M:System.Console.Write(System.Decimal)">
1188 <summary>Writes the text representation of the specified <see cref="T:System.Decimal"></see> value to the standard output stream.</summary>
1189 <param name="value">The value to write.</param>
1190 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1192 <member name="M:System.Console.WriteLine(System.String,System.Object,System.Object)">
1193 <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>
1194 <param name="format">A composite format string.</param>
1195 <param name="arg0">The first object to write using format.</param>
1196 <param name="arg1">The second object to write using format.</param>
1197 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1198 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is <see langword="null"></see>.</exception>
1199 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
1201 <member name="M:System.Console.WriteLine(System.String)">
1202 <summary>Writes the specified string value, followed by the current line terminator, to the standard output stream.</summary>
1203 <param name="value">The value to write.</param>
1204 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1206 <member name="M:System.Console.WriteLine(System.Char[],System.Int32,System.Int32)">
1207 <summary>Writes the specified subarray of Unicode characters, followed by the current line terminator, to the standard output stream.</summary>
1208 <param name="buffer">An array of Unicode characters.</param>
1209 <param name="index">The starting position in buffer.</param>
1210 <param name="count">The number of characters to write.</param>
1211 <exception cref="T:System.ArgumentNullException"><paramref name="buffer">buffer</paramref> is <see langword="null"></see>.</exception>
1212 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index">index</paramref> or <paramref name="count">count</paramref> is less than zero.</exception>
1213 <exception cref="T:System.ArgumentException"><paramref name="index">index</paramref> plus <paramref name="count">count</paramref> specify a position that is not within <paramref name="buffer">buffer</paramref>.</exception>
1214 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1216 <member name="M:System.Console.WriteLine(System.String,System.Object[])">
1217 <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>
1218 <param name="format">A composite format string.</param>
1219 <param name="arg">An array of objects to write using format.</param>
1220 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1221 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> or <paramref name="arg">arg</paramref> is <see langword="null"></see>.</exception>
1222 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
1224 <member name="M:System.Console.WriteLine(System.String,System.Object)">
1225 <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>
1226 <param name="format">A composite format string.</param>
1227 <param name="arg0">An object to write using format.</param>
1228 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1229 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is <see langword="null"></see>.</exception>
1230 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
1232 <member name="M:System.Console.WriteLine(System.UInt64)">
1233 <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>
1234 <param name="value">The value to write.</param>
1235 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1237 <member name="M:System.Console.WriteLine(System.UInt32)">
1238 <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>
1239 <param name="value">The value to write.</param>
1240 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1242 <member name="M:System.Console.WriteLine(System.Single)">
1243 <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>
1244 <param name="value">The value to write.</param>
1245 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1247 <member name="M:System.Console.WriteLine(System.Decimal)">
1248 <summary>Writes the text representation of the specified <see cref="T:System.Decimal"></see> value, followed by the current line terminator, to the standard output stream.</summary>
1249 <param name="value">The value to write.</param>
1250 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1252 <member name="M:System.Console.WriteLine(System.Int64)">
1253 <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>
1254 <param name="value">The value to write.</param>
1255 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1257 <member name="M:System.Console.WriteLine(System.Int32)">
1258 <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>
1259 <param name="value">The value to write.</param>
1260 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1262 <member name="M:System.Console.WriteLine(System.Double)">
1263 <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>
1264 <param name="value">The value to write.</param>
1265 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1267 <member name="M:System.Console.WriteLine(System.Char[])">
1268 <summary>Writes the specified array of Unicode characters, followed by the current line terminator, to the standard output stream.</summary>
1269 <param name="buffer">A Unicode character array.</param>
1270 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1272 <member name="M:System.Console.WriteLine(System.Char)">
1273 <summary>Writes the specified Unicode character, followed by the current line terminator, value to the standard output stream.</summary>
1274 <param name="value">The value to write.</param>
1275 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1277 <member name="M:System.Console.WriteLine(System.Boolean)">
1278 <summary>Writes the text representation of the specified Boolean value, followed by the current line terminator, to the standard output stream.</summary>
1279 <param name="value">The value to write.</param>
1280 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1282 <member name="M:System.Console.WriteLine">
1283 <summary>Writes the current line terminator to the standard output stream.</summary>
1284 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1286 <member name="M:System.Console.WriteLine(System.String,System.Object,System.Object,System.Object)">
1287 <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>
1288 <param name="format">A composite format string.</param>
1289 <param name="arg0">The first object to write using format.</param>
1290 <param name="arg1">The second object to write using format.</param>
1291 <param name="arg2">The third object to write using format.</param>
1292 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1293 <exception cref="T:System.ArgumentNullException"><paramref name="format">format</paramref> is <see langword="null"></see>.</exception>
1294 <exception cref="T:System.FormatException">The format specification in <paramref name="format">format</paramref> is invalid.</exception>
1296 <member name="M:System.Console.WriteLine(System.Object)">
1297 <summary>Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.</summary>
1298 <param name="value">The value to write.</param>
1299 <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
1301 <member name="T:System.ConsoleSpecialKey">
1302 <summary>Specifies combinations of modifier and console keys that can interrupt the current process.</summary>
1304 <member name="F:System.ConsoleSpecialKey.ControlBreak">
1305 <summary>The <see cref="F:System.ConsoleModifiers.Control"></see> modifier key plus the BREAK console key.</summary>
1308 <member name="F:System.ConsoleSpecialKey.ControlC">
1309 <summary>The <see cref="F:System.ConsoleModifiers.Control"></see> modifier key plus the <see cref="F:System.ConsoleKey.C"></see> console key.</summary>
1312 <member name="T:System.ConsoleModifiers">
1313 <summary>Represents the SHIFT, ALT, and CTRL modifier keys on a keyboard.</summary>
1315 <member name="F:System.ConsoleModifiers.Alt">
1316 <summary>The left or right ALT modifier key.</summary>
1319 <member name="F:System.ConsoleModifiers.Control">
1320 <summary>The left or right CTRL modifier key.</summary>
1323 <member name="F:System.ConsoleModifiers.Shift">
1324 <summary>The left or right SHIFT modifier key.</summary>