Creating a List<> of a Subset of Keys and Strings in a .RESX file
<p>I have a <code>.resx</code> file that contains all the strings for my website.  I'd like to create a <code>List&lt;string&gt;</code> of a subset of these strings without having to use <code>add()</code> for each new string like this:</p>

<pre><code>List&lt;string&gt; listOfResourceStrings= new List&lt;string&gt;();
listOfResourceStrings.Add(Resources.WebSite_String1);
listOfResourceStrings.Add(Resources.WebSite_String2);
listOfResourceStrings.Add(Resources.WebSite_String3);
listOfResourceStrings.Add(Resources.WebSite_String4);
listOfResourceStrings.Add(Resources.WebSite_String5);
listOfResourceStrings.Add(Resources.WebSite_Stringn);
</code></pre>

<p>I could use...</p>

<pre><code>System.Resources.ResourceSet listOfResourceStrings = Resources.ResourceManager.GetResourceSet(System.Threading.Thread.CurrentThread.CurrentCulture, true, true);
</code></pre>

<p>...but this returns a <code>ResourceSet</code> and contains <strong>all</strong> the strings.  And, there doesn't seem to be an easy way to find a subset of the strings.</p>

<p>Thank you for your help,</p>

<p>Aaron</p>
