title: How would I implement a Queue of type Dictionary<int, string> and iterate/enqueue/dequeue in C#
body: <p>I am looking to implement a <code>Queue</code> of type <code>Dictionary&lt;int, string&gt;</code> and be able to iterate/enqueue/dequeue.</p>
  
  <p>What's ultimately needed is a <code>queue</code> of <code>int</code>, <code>string</code>, whatever guise it takes.</p>
  
  <p>So far I have something like:</p>
  
  <pre><code>  private static Queue&lt;Dictionary&lt;int, string&gt;&gt; requestQueue = new Queue&lt;Dictionary&lt;int, string&gt;&gt;();
  
    foreach (KeyValuePair&lt;int, string&gt; dictionaryListItem in dictionaryList)
    {
        requestQueue.Enqueue( dictionaryListItem ); // error
    }
  </code></pre>
  
  <p>but can't seem to enqueue with the above. Would anyone know the correct syntax?</p>