title: Create a nested List of Objects from a single List
body: <p>I have a list of items (not sure they are even or odd number of items). What I wanna do is, pick up records in the pair of 5 (which actually is a list), create another list and insert these pair of 5 lists into that new list. </p>
  
  <p>Thanks</p>
  
  <p>I can create a group of items by doing this</p>
  
  <pre><code>MyList
    .Zip(Enumerable.Range(0, MyList.Count()),
         (s, r) =&gt; new { 
            Group = r / 5, 
            Item = s })
    .GroupBy(i =&gt; i.Group, 
             g =&gt; g.Item)
    .ToList();
  </code></pre>
  
  <p>But I want to generate a nested list.</p>