You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System/Console.xml
+50-7Lines changed: 50 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -4413,7 +4413,7 @@ This method can be used to reacquire the standard output stream after it has bee
4413
4413
## Remarks
4414
4414
The text representation of `value` is produced by calling <xref:System.Boolean.ToString%2A?displayProperty=nameWithType>, which outputs either <xref:System.Boolean.TrueString?displayProperty=nameWithType> or <xref:System.Boolean.FalseString?displayProperty=nameWithType>.
4415
4415
4416
-
4416
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
4417
4417
4418
4418
## Examples
4419
4419
The following example illustrates the use of the `Write` method.
@@ -4475,6 +4475,8 @@ This method can be used to reacquire the standard output stream after it has bee
4475
4475
<remarks>
4476
4476
<formattype="text/markdown"><.
5239
5250
5251
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
5240
5252
5241
5253
5242
5254
## Examples
@@ -5351,8 +5363,9 @@ This method can be used to reacquire the standard output stream after it has bee
5351
5363
5352
5364
- For more information about formatting, see [Formatting Types](/dotnet/standard/base-types/formatting-types).
5353
5365
5354
-
The `arg` parameter is a parameter array. Arguments can be passed to the method either as an array or as list of five or more items. The examples illustrate both forms of method call.
5366
+
The `arg` parameter is a parameter array. Arguments can be passed to the method either as an array or as list of five or more items. The examples illustrate both forms of method call.
5355
5367
5368
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
5356
5369
5357
5370
5358
5371
## Examples
@@ -5437,6 +5450,10 @@ This method can be used to reacquire the standard output stream after it has bee
5437
5450
## Remarks
5438
5451
This method writes `count` characters starting at position `index` of `buffer` to the standard output stream.
5439
5452
5453
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
5454
+
5455
+
This method is intended for writing text, so be sure that the input array is well-formed. For example, surrogate pairs in the input may be interpreted as runes and re-encoded before output, and a terminating unpaired surrogate may be truncated.
5456
+
5440
5457
]]></format>
5441
5458
</remarks>
5442
5459
<exceptioncref="T:System.ArgumentNullException">
@@ -5536,7 +5553,7 @@ This method can be used to reacquire the standard output stream after it has bee
5536
5553
5537
5554
- For more information about formatting, see [Formatting Types](/dotnet/standard/base-types/formatting-types).
5538
5555
5539
-
5556
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
5540
5557
5541
5558
## Examples
5542
5559
The following example uses the `WriteLine` method to demonstrate the standard formatting specifiers for numbers, dates, and enumerations.
@@ -5653,7 +5670,7 @@ This method can be used to reacquire the standard output stream after it has bee
5653
5670
5654
5671
- For more information about formatting, see [Formatting Types](/dotnet/standard/base-types/formatting-types).
5655
5672
5656
-
5673
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
5657
5674
5658
5675
## Examples
5659
5676
The following example uses the `WriteLine` method to demonstrate the standard formatting specifiers for numbers, dates, and enumerations.
@@ -5757,6 +5774,7 @@ This method can be used to reacquire the standard output stream after it has bee
5757
5774
5758
5775
- For more information about formatting, see [Formatting Types](/dotnet/standard/base-types/formatting-types).
5759
5776
5777
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
5760
5778
5761
5779
5762
5780
## Examples
@@ -5793,6 +5811,8 @@ This method can be used to reacquire the standard output stream after it has bee
5793
5811
## Remarks
5794
5812
The default line terminator is a string whose value is a carriage return followed by a line feed ("\r\n" in C#, or `vbCrLf` in Visual Basic). You can change the line terminator by setting the <xref:System.IO.TextWriter.NewLine%2A?displayProperty=nameWithType> property of the <xref:System.Console.Out%2A> property to another string.
5795
5813
5814
+
Strings are encoded according to <xref:System.Console.OutputEncoding%2A>.
5815
+
5796
5816
]]></format>
5797
5817
</remarks>
5798
5818
</Docs>
@@ -5910,7 +5930,7 @@ This method can be used to reacquire the standard output stream after it has bee
5910
5930
5911
5931
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
5912
5932
5913
-
5933
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
5914
5934
5915
5935
## Examples
5916
5936
The following example generates ten random integers and uses the <xref:System.Console.WriteLine%28System.Boolean%29?displayProperty=nameWithType> method to indicate whether they are even.
@@ -5975,6 +5995,7 @@ This method can be used to reacquire the standard output stream after it has bee
5975
5995
## Remarks
5976
5996
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
5977
5997
5998
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
5978
5999
5979
6000
5980
6001
## Examples
@@ -6046,6 +6067,10 @@ This method can be used to reacquire the standard output stream after it has bee
6046
6067
## Remarks
6047
6068
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
6048
6069
6070
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
6071
+
6072
+
This method is intended for writing text, so be sure that the input array is well-formed. For example, surrogate pairs in the input may be interpreted as runes and re-encoded before output, and a terminating unpaired surrogate may be truncated.
@@ -6103,6 +6128,7 @@ This method can be used to reacquire the standard output stream after it has bee
6103
6128
6104
6129
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
6105
6130
6131
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
6106
6132
6107
6133
6108
6134
## Examples
@@ -6169,6 +6195,7 @@ This method can be used to reacquire the standard output stream after it has bee
6169
6195
6170
6196
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
6171
6197
6198
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
6172
6199
6173
6200
6174
6201
## Examples
@@ -6235,6 +6262,7 @@ This method can be used to reacquire the standard output stream after it has bee
6235
6262
6236
6263
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
6237
6264
6265
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
6238
6266
6239
6267
6240
6268
## Examples
@@ -6301,6 +6329,7 @@ This method can be used to reacquire the standard output stream after it has bee
6301
6329
6302
6330
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
6303
6331
6332
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
6304
6333
6305
6334
6306
6335
## Examples
@@ -6374,6 +6403,7 @@ This method can be used to reacquire the standard output stream after it has bee
6374
6403
6375
6404
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
6376
6405
6406
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
6377
6407
6378
6408
6379
6409
## Examples
@@ -6441,6 +6471,7 @@ This method can be used to reacquire the standard output stream after it has bee
6441
6471
6442
6472
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
6443
6473
6474
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
6444
6475
6445
6476
6446
6477
## Examples
@@ -6514,6 +6545,7 @@ This method can be used to reacquire the standard output stream after it has bee
6514
6545
6515
6546
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine> method.
6516
6547
6548
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
6517
6549
6518
6550
6519
6551
## Examples
@@ -6587,6 +6619,7 @@ This method can be used to reacquire the standard output stream after it has bee
6587
6619
6588
6620
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
6589
6621
6622
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
6590
6623
6591
6624
6592
6625
## Examples
@@ -6659,6 +6692,7 @@ This method can be used to reacquire the standard output stream after it has bee
6659
6692
6660
6693
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
6661
6694
6695
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
6662
6696
6663
6697
6664
6698
## Examples
@@ -6758,6 +6792,7 @@ This method can be used to reacquire the standard output stream after it has bee
6758
6792
6759
6793
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
6760
6794
6795
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
6761
6796
6762
6797
6763
6798
## Examples
@@ -6872,6 +6907,7 @@ This method can be used to reacquire the standard output stream after it has bee
6872
6907
6873
6908
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
6874
6909
6910
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
6875
6911
6876
6912
6877
6913
## Examples
@@ -6957,6 +6993,10 @@ This method can be used to reacquire the standard output stream after it has bee
6957
6993
6958
6994
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
6959
6995
6996
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
6997
+
6998
+
This method is intended for writing text, so be sure that the input array is well-formed. For example, surrogate pairs in the input may be interpreted as runes and re-encoded before output, and a terminating unpaired surrogate may be truncated.
6999
+
6960
7000
]]></format>
6961
7001
</remarks>
6962
7002
<exceptioncref="T:System.ArgumentNullException">
@@ -7058,6 +7098,7 @@ This method can be used to reacquire the standard output stream after it has bee
7058
7098
7059
7099
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
7060
7100
7101
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
7061
7102
7062
7103
7063
7104
## Examples
@@ -7176,6 +7217,7 @@ This method can be used to reacquire the standard output stream after it has bee
7176
7217
7177
7218
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
7178
7219
7220
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
7179
7221
7180
7222
7181
7223
## Examples
@@ -7281,6 +7323,7 @@ This method can be used to reacquire the standard output stream after it has bee
7281
7323
7282
7324
For more information about the line terminator, see the Remarks section of the <xref:System.Console.WriteLine%2A> method that takes no parameters.
7283
7325
7326
+
The output is encoded according to <xref:System.Console.OutputEncoding%2A>.
0 commit comments