title: How do I get/set a winforms application's working directory?
body: <p>To get the Application's root I am Currently using:</p>
  
  <pre><code>Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase).Substring(6)
  </code></pre>
  
  <p>But that feels sloppy to me.  Is there a better way to get the root directory of the application and set that to the working directory?</p>