How to take elements part successive from list in C#?
<p>I have integer list in C#. I need a method that, to give <code>startIndex</code> and <code>step</code> parameters and to take sublists from that. When reach to end, cross to begin of list. <strong>like circle</strong> </p>

<pre><code>public List&lt;int&gt; GetSomeInt(List&lt;int&gt; mainList, int startIndex, int step )
{
  ...
}
</code></pre>

<p>For example, list elements are  <strong>4, 2, 85, 6, 7, 89, 1, 0, 36, 47, 11, 75</strong>.   I give <code>startIndex=3</code> and <code>step=5</code> to method and I get so results:</p>

<pre><code>result1 - 6, 7, 89, 1, 0
result2 - 36, 47, 11, 75, 4
result3 - 2, 85, 6, 7, 89, 1
result4 - 0, 36, 47, 11, 75
result5 - 4, 2, 85, 6, 7
result6 - 89, 1, 0, 36, 47
........................
</code></pre>

<p>How I get so successive sub-elements of list?</p>
