Capture console output in C#

- Posted in Coding by

The following C# source code demonstrates how to capture the output of a console program: