title: Saving files and images in a folder in the project using relative path
body: <p>In my project I will eventually have to save images created or took on the net and save other created files, which I know how to do. The problem is that when I happen to save my images, I work like this:</p>
  
  <pre><code>using (var imgClient = new WebClient())
  {
      Directory.CreateDirectory(imagesDirectory);
      imgClient.DownloadFile(imgUrl, imagesDirectory + m_ObjNameToUse + "(" + abv+ ")" + objNumber + ".jpeg");
  }
  </code></pre>
  
  <p>I call the <code>Directory.CreateDirectory</code> method at this moment to make sure that the directory is always created before creating the image, preventing a crash.</p>
  
  <p>Now my problem is that it uses the string imagesDirectory, which is a hard coded string looking like this:</p>
  
  <pre><code>string imagesDirectory = "C:\\Creation_Folder\\Object_Sets\\Images\\" + _objSetName+ "\\";
  </code></pre>
  
  <p>That works, as of right now. But I'm under development and the project will eventually be released. I would like to save the images under the "Images" folder in the project, adding the _objSetName as a new folder to distinguish each images created to avoid having too many images in the same file.</p>
  
  <p>So my question is how can I tell my app to locate the <code>Images</code> folder included in the project, and then create a folder under <code>_objSetName</code>?</p>