title: Linq Aggregate gives null value rather than expected return List
body: <p>I'm attempting to utilize linq aggregate in order to mimic a reduce behavior. I need <code>GroupingMethod</code> to return a List of arrays.For some reason <code>GroupingMethod</code> returns null no matter what. I appreciate any help.</p>
  <pre><code>List&lt;Group&gt; groupings = GroupingMethod(new int[] {9,6,9,3,5,3,6,6,3,5,5,1,6,9,8});
  
  static List&lt;Group&gt; GroupingMethod(int[] ValueList)
      {
          int groupTotal = 0;
          Group newGroup = new Group();
          var put = ValueList.Aggregate(new List&lt;Group&gt;(), (acc, x) =&gt;
          {
              List&lt;Group&gt; polp = acc;
              groupTotal = groupTotal + x;
              if (groupTotal &lt; 10)
              {
                  newGroup.AddInt(x);
              } else
              {
                  polp.Add(newGroup);
                  newGroup.Clear();
                  groupTotal = 0;
              }
              return polp;
          });
          return put;
      }
  
  
  class Group
  {
      List&lt;int&gt; iGrouping = new List&lt;int&gt;();
      public Group(int AddInt)
      {
          iGrouping.Add(AddInt);
      }
      public Group()
  {
  
  }
      public void AddInt(int IntToAdd)
      {
          iGrouping.Add(IntToAdd);
      }
      public void Clear()
      {
          iGrouping.Clear();
      }
  public int CombinedGroupValue { get{return iGrouping.Sum();}}          
  }
  </code></pre>