title: Is there a .NET queue class that allows for dequeuing multiple items at once?
body: <p>I believe a pretty common scenario is to have a queue of items that should be processed N at a time.</p>
  
  <p>For instance.. if we have <code>23 items</code> and should process <code>10</code> at a time, it would be like:</p>
  
  <pre><code>Process batch of 10
  Process batch of 10
  Process batch of 3
  </code></pre>
  
  <p>I can solve this problem in a variaty of ways. My question is: Does the .NET framework provide any class designed specifically to address this scenario? The <code>Queue</code> class would be perfect but it doesn't allow for dequeuing multiple items at once.</p>