title: Value of type 'DirectoryInfo' cannot be converted to 'String'
body: <p>I am trying to start a .exe file in a parent folder to which my .exe file is in.</p>
  
  <p>Unfortunately when doing:</p>
  
  <pre><code>dir = Directory.GetParent(Directory.GetCurrentDirectory))
  </code></pre>
  
  <p>The program gives me an error:</p>
  
  <blockquote>
    <p>Value type of 'DirectoryInfo' cannot be converted to 'String'.</p>
  </blockquote>
  
  <p>It works perfectly with <code>CurrentDirectory</code>, but doesn't with <code>GetParent</code>. Not even if I just put:</p>
  
  <pre><code>dir = Directory.GetParent("")
  </code></pre>
  
  <p>I would think they both return the same file type but Visual Studio tells me (when shading over the <code>GetParent</code> method) that <code>GetParent</code> returns a <code>DirectoryInfo</code> value. </p>
  
  <p>Is there any way of converting this to a string, or being able to use it to my needs?</p>