With Linq you can group and sum or group and count. Is it possible to group an concat strings?
Here is an example:
var list = (from x in Context.tblProduct
            group x by new { x.OrderNo, x.Color } into groupedByColorCode
            select new
                {
                    OrderNo = groupedByColorCode.Key.OrderNo,
                    ProductRef = groupedByColorCode.FirstOrDefault().ProductRef,
                    Color = groupedByColorCode.Key.Color,
                    Size = groupedByColorCode.Concat(bcc => bcc.Size).ToString(), // This line doesn't work
                    TotalQuantity = groupedByColorCode.Sum(bcc => bcc.OriQty).ToString()
                });
What should I write in place of
Size = groupedByColorCode.Concat(bcc => bcc.Size).ToString()
 
     
     
    