title: Split List<SomeObject> to several Sublists
body: <p>I have an array <code>List&lt;SomeObject&gt;</code> which contain ascending order of dates (and some more fields with info). The list will be Grouped into a <code>List&lt;List&lt;SomeObject&gt;&gt;</code>, which correlate to my subject. </p>
  
  <p>One <code>List&lt;SomeObject&gt;</code> groups into an <code>List&lt;List&lt;SomeObject&gt;&gt;</code>. In this former case only contain 1 row. </p>
  
  <p>Some calculations occurs on LastOrDefault and FirstOrDefault of that row. <em>(In the end, the method return one SomeObject with a date, type and calculated value)</em>.</p>
  
  <pre><code>List&lt;List&lt;SomeObject&gt;&gt; Array; // Should be filled with the grouped List&lt;SomeObject&gt;
  
  List&lt;SomeObject&gt;              // One SomeObject is a row below,
  2011-01-01   enumType.Ok        140.0
  2011-01-02   enumType.Ok        210.0
  2011-01-03   enumType.Ok        250.0
  2011-01-04   enumType.Blocking  310.0
  2011-01-05   enumType.Ok        4.0
  2011-01-06   enumType.Ok        34.0
  2011-01-07   enumType.Ok        93.0
  and counting..
  </code></pre>
  
  <p>Each row in the array have a type (enum) which normally are "Ok".<br>
  This array can have occurences of "NotOk" instead of "Ok" (simplified description).</p>
  
  <p><strong>So, the question is,</strong><br>
  The row 2011-01-05 have <code>NotOk</code>, which must split the array. The result will be as below. All rows up to the Blocking in one array, then next array for the rest of the rows (or to next point of "blocking". </p>
  
  <pre><code>List&lt;SomeObject&gt;
  2011-01-01   enumType.Ok        140.0
  2011-01-02   enumType.Ok        210.0
  2011-01-03   enumType.Ok        250.0
  2011-01-04   enumType.Blocking  310.0
  
  List&lt;SomeObject&gt;
  2011-01-05   enumType.Ok        4.0
  2011-01-06   enumType.Ok        34.0
  2011-01-07   enumType.Ok        93.0
  and counting..   
  </code></pre>
  
  <p>Then I can do a separate groupby/calculate sum on each list and lastly sum each groupby together. </p>
  
  <p><strong>[Edit]</strong><br>
  I was helped by the answer from BrokenGlass, which worked exactly as stated. Though, I did a typo in my question that change the behavior of his answer. The first item in next array should be AFTER .Blocking. Just take his <code>currentList.Add(item);</code> before the <code>if(currentList.Count</code> - clause and the answer are still correct. Please also mind that this extension should be done only if needed, because we're miss the point of my Q every time it need looping each value because of "Blocking".</p>