title: Unable to cast object of type 'System.Collections.DictionaryEntry' to type 'System.String'
body: <p>I have resource <code>Resource1</code> have many strings doc1,doc2,...etc i want to retrieve all in this resource in list i make the following code but give me an exception when go to <code>foreach</code> loop this is my code <br></p>
  
  <pre><code>     ResourceSet resourceSet =  Resource1.ResourceManager.GetResourceSet(
  CultureInfo.CurrentUICulture, true, true);
      List&lt;string&gt; Data_set = new List&lt;string&gt;();
  
  foreach (string xs in resourceSet)
          {
              Data_set.Add(xs);
  
          }
          listBox1.DataSource = Data_set;
  </code></pre>