title: How to find consecutive same values items as a Linq group
body: <pre><code>var schedules = new List&lt;Item&gt;{
      new Item { Id=1, Name = "S" },
      new Item { Id=2, Name = "P" },
      new Item { Id=3, Name = "X" },
      new Item { Id=4, Name = "X" },
      new Item { Id=5, Name = "P" },
      new Item { Id=6, Name = "P" },
      new Item { Id=7, Name = "P" },
      new Item { Id=8, Name = "S" }
  };
  </code></pre>
  
  <p>I want to select same values and same orders in a new list like this:</p>
  
  <pre><code>var groupedAndSelectedList = new List&lt;List&lt;Item&gt;&gt;{
      new List&lt;Item&gt; {       
          new Item { Id=3, Name = "X" },
          new Item { Id=4, Name = "X" },
      },
      new List&lt;Item&gt; {       
          new Item { Id=5, Name = "P" },
          new Item { Id=6, Name = "P" },
          new Item { Id=7, Name = "P" },
      }
  }
  </code></pre>
  
  <p>If item is single like <code>new Item { Id=3, Name = "A" }</code> I do not need to get it.</p>
  
  <p>Group by selects all X or P elements in list. But I want if items stands after or before another item. </p>
  
  <p>Is this possible using linq?</p>