Given a normal console, the task is to get the Standard Output Stream through this Console in C#.
Approach: This can be done using the Out property in the Console class of the System package in C#.
Program: Getting the Standard Output Stream
Note: The TextWriter represents the standard output stream.
- C# | Getting the Standard Error Output Stream through Console
- C# | How to get the Standard Input Stream through Console
- C# | Check if Output is Redirected on the Console or not
- C# | How to change the Output Encoding Scheme of the Console
- Difference between Console.Read and Console.ReadLine in C#
- Difference between Console.Write and Console.WriteLine in C#
- Console Class in C#
- C# | How to change the CursorSize of the Console
- Console.SetError() Method in C#
- C# | How to change BufferWidth of the Console
- Console.SetIn() Method in C#
- C# | How to change the CursorTop of the Console
- C# | How to change the CursorLeft of the Console
- Console.Clear Method in C#
- Console.SetCursorPosition() Method in C#
- Console.OpenStandardError Method in C#
- Console.Read() Method in C#
- Console.SetWindowSize() Method in C#
- C# | How to change BufferHeight of the Console
- Console.SetWindowPosition() Method in C#
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.