title: How to pass a subset of a collection to a C# method?
body: <p>In C++, anytime I want to process some range of items I do something like this:</p>
  
  <pre><code>template&lt;class Iterator&gt;
  void method(Iterator range_begin, Iterator range_end);
  </code></pre>
  
  <p>Is there such a convenient way to do this in C#, not only for <code>System.Array</code> but for other collection classes as well?</p>