title: Opening a particular file and point to a function in a Visual Studio solution
body: <p>In my C# application which is used to test another application, I have to show the user the source code of the application. For this, </p>
  
  <ul>
  <li>I need to open the solution</li>
  <li>Open the file containing the function</li>
  <li>Point the cursor to the function</li>
  </ul>
  
  <p>I know that <code>devenv {/run|/r} {SolutionName|ProjectName}</code> opens a specified solution.</p>
  
  <p>I know that <code>devenv /Edit {FileName} /command edit.goto {LineNumber}</code> will open specified file and point cursor to specified number (provided that an instance of Visual Studio is not already running).</p>
  
  <p>What I want to do is open a solution, open a file under that solution(<code>devenv /Edit {FileName} /command edit.goto {LineNumber}</code>will open the file as an individual file and not as part of a solution) and go to a specific function (Which user selects from a ComboBox/ListBox.</p>
  
  <p>How to do this in C# code?</p>
  
  <p>FYI, the other project which is the test project is a CPP project.</p>