title: running .net console applications programmatically
body: <p>I have a .exe program (console app) written in .net. </p>
  
  <ol>
  <li>I need to execute it</li>
  <li>Provide inputs</li>
  <li>Get the outputs as a string or preferably as stream.</li>
  </ol>
  
  <p>Currently I'm using <code>System.Diagnostics</code> namespace and <code>Process</code> Class. 
  But using <code>Diagnostic</code> namespace for this purpose dosent seem to be ok.</p>
  
  <p>Is there any method by which I can do the same thing more efficiently?.
  Like using reflection to find <code>Main()</code> method and then invoking it.</p>