Category Archives: console

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