Skip to content

Commit 4475511

Browse files
authored
Fix typo and remove not applicable example (#4436)
1 parent ae2cc3f commit 4475511

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

xml/System/Console.xml

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,16 +1926,16 @@
19261926
<format type="text/markdown"><![CDATA[
19271927
19281928
## Remarks
1929-
This method can be used to reacquire the standard input stream after it has been changed by the <xref:System.Console.SetIn%2A> method.
1930-
1931-
1932-
1929+
1930+
This method can be used to reacquire the standard input stream after it has been changed by the <xref:System.Console.SetIn%2A> method.
1931+
19331932
## Examples
1934-
The following example illustrates the use of the `OpenStandardInput` property.
1933+
1934+
The following example illustrates the use of the `OpenStandardInput` method.
19351935
1936-
[!code-cpp[System.Console.OpenStandartInput#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Console.OpenStandartInput/CPP/decode.cpp#1)]
1937-
[!code-csharp[System.Console.OpenStandartInput#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Console.OpenStandartInput/CS/decode.cs#1)]
1938-
[!code-vb[System.Console.OpenStandartInput#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.OpenStandartInput/VB/decode.vb#1)]
1936+
[!code-cpp[System.Console.OpenStandartInput#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Console.OpenStandartInput/CPP/decode.cpp#1)]
1937+
[!code-csharp[System.Console.OpenStandartInput#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Console.OpenStandartInput/CS/decode.cs#1)]
1938+
[!code-vb[System.Console.OpenStandartInput#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.OpenStandartInput/VB/decode.vb#1)]
19391939
19401940
]]></format>
19411941
</remarks>
@@ -1985,17 +1985,9 @@
19851985
<format type="text/markdown"><![CDATA[
19861986
19871987
## Remarks
1988-
This method can be used to reacquire the standard output stream after it has been changed by the <xref:System.Console.SetIn%2A> method.
1989-
1990-
1991-
1992-
## Examples
1993-
The following example illustrates the use of the `OpenStandardInput` property.
1994-
1995-
[!code-cpp[System.Console.OpenStandartInput#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Console.OpenStandartInput/CPP/decode.cpp#1)]
1996-
[!code-csharp[System.Console.OpenStandartInput#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Console.OpenStandartInput/CS/decode.cs#1)]
1997-
[!code-vb[System.Console.OpenStandartInput#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Console.OpenStandartInput/VB/decode.vb#1)]
1998-
1988+
1989+
This method can be used to reacquire the standard output stream after it has been changed by the <xref:System.Console.SetIn%2A> method.
1990+
19991991
]]></format>
20001992
</remarks>
20011993
<exception cref="T:System.ArgumentOutOfRangeException">

0 commit comments

Comments
 (0)