title: Getting image names from DLL as a List?
body: <p>I created a DLL for encapsulating my Images and after that I want to get image names from DLL as a list. Before posting this post I googled about it and I saw an example that is below.</p>
  
  <pre><code>public static List&lt;string&gt; GetImageList()
  {
      List&lt;string&gt; imageList;            
      System.Reflection.Assembly BOAUIResources = System.Reflection.Assembly.GetExecutingAssembly();
      string[] resources = BOAUIResources.GetManifestResourceNames();
      return resources.ToList&lt;string&gt;();
  }
  </code></pre>
  
  <p>This code just accessing image names that build action property is "embedded resource". because of accessing in WPF, my images build action type must define as "resource".</p>
  
  <p>So How can I list image names, that build action property is defined as resource, from DLL ?</p>