title: Split array with LINQ
body: <p>Assuming I have a list </p>
  
  <pre><code>var listOfInt = new List&lt;int&gt; {1, 2, 3, 4, 7, 8, 12, 13, 14}
  </code></pre>
  
  <p>How can I use LINQ to obtain a list of lists as follows:</p>
  
  <pre><code>{{1, 2, 3, 4}, {7, 8}, {12, 13, 14}}
  </code></pre>
  
  <p>So, i have to take the consecutive values and group them into lists.</p>