TextCapture
The TextCapture class intercepts console output and writes it
            to the current execution context, if one is present on the thread.
            If no execution context is found, the output is written to a
            default destination, normally the original destination of the
            intercepted output.
            
                
Construct a TextCapture object