Get the output of a console program in my WinForms application (Specifically the output of C# complier - CSC.EXE)
<p>I decided to do something really simple -</p>

<p>A WinForms application with a text box for C# code and a button. When the button is clicked, I save the content of the text box to a temp .cs file, invoke the csc.exe (Process.Start()) with the file name as parameter so that it is compiled. This is assuming I set the PATH variables and everything.</p>

<p>When the csc.exe outputs syntax errors and stuff, how can I get it back and show it in another text box in my app?</p>

<p><strong>NOTE</strong> My aim is not to just "complie C# code from within my app (in whichever way possible)".. it is to get the output of csc.exe</p>
