I believe that a fairly common scenario is to have a queue of elements that need to be processed N at a time.
For example, if we have 23 items and need to process 10 at a time, this would be like this:
Process batch of 10 Process batch of 10 Process batch of 3
I can solve this problem in various ways. My question is: does the .NET framework support any class specifically designed to solve this scenario? The Queue class would be perfect, but it does not allow multiple elements to be challenged at once.
source share