It\'s probably something silly I missed, but I try to concatenate a list of integers instead of summing them with:
integerArray.Aggregate((accumulator, piece) =&
You probably want to use String.Join.
string.Join(",", integerArray.Select(i => i.ToString()).ToArray());
If you're using .Net 4.0, you don't need to go through the hassle of reifying an array. and can just do
string.Join(",", integerArray);