title: How can i count Resources in a folder
body: <p>I Have several images set as <strong>Resources</strong> in my project.
  now i want to store in a variable the amount of images i have in that folder.</p>
  
  <p>How can i achive this?
  I Am building a WPF Application.
  When i try and use Pack URL like this :</p>
  
  <pre><code> string[] filePaths = Directory.GetFiles("pack://application:,,,/Resources/Images/Output/", "*.jpg");
  </code></pre>
  
  <p>i get an error that The given path's format is not supported.</p>
  
  <p><strong>Notes:</strong></p>
  
  <ul>
  <li>The resources are not specified in some file, they are just set as Resources on it's <strong>Build Action</strong>.</li>
  <li>I only need <strong>some</strong> of the images in the assembly. They are within a specific folder</li>
  </ul>
  
  <p><strong>Strings i tried:</strong></p>
  
  <ul>
  <li><p>pack://application:,,,/Resources/Images/Output/</p></li>
  <li><p>YearBook;component/Resources/Images/Output/</p></li>
  </ul>