title: How to go one step above in a folder path by using AppDomain.CurrentDomain.BaseDirectory in c#
body: <p>I am using <code>AppDomain.CurrentDomain.BaseDirectory</code> and I want to go one step backwards but couldn't figure out how? Below is the example,</p>
  
  <p>CODE :</p>
  
  <p><code>string path = AppDomain.CurrentDomain.BaseDirectory;</code></p>
  
  <p>RESULT :</p>
  
  <p><code>"C:\\Mainline Code\\IxExpress\\.NET Applications\\IXTextIndexBuilder\\IXTextIndexBuilder\\bin\\Debug\\"</code></p>
  
  <p>EXPECTED RESULT:</p>
  
  <p><code>"C:\\Mainline Code\\IxExpress\\.NET Applications\\IXTextIndexBuilder\\IXTextIndexBuilder\\bin"</code></p>