Tag Archives: console

Write Console window output to multiple places in C#

This example captures output sent to the Console window and displays it in multiple controls plus the Console window. It is based on an excellent reply by user Servy on Stack Overflow. The following class is a TextWriter that represents … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Redirect Console window output to a TextBox in C#

This example captures output sent to the Console window and displays it in a TextBox control. It is based on an excellent reply by user Servy on Stack Overflow. The Console object has a SetOut method that lets you change … Continue reading

Posted in console | Tagged , , , , , , , , | 1 Comment

Make a console application in C#

A console application doesn’t have a real user interface. Instead it communicates with the user via a text-only console window. It can display text and read input from the keyboard. To make a console application, start a new project by … Continue reading

Posted in console | Tagged , , , , , , , , , , | Leave a comment