title: Cannot convert type 'string' to 'System.Collections.ArrayList
body: <p>Here is my code </p>
  
  <pre><code>   private static ArrayList GetFirstObjectFromDictionary(Dictionary&lt;string, string&gt; dictionary)
      {
          foreach (ArrayList arr in dictionary.Values) //error 
          {
              return arr;
          }
          return null;
      }
  </code></pre>
  
  <p>It causes error "Cannot convert type 'string' to 'System.Collections.ArrayList'".</p>