tags:

views:

65

answers:

2
 I have List<Product[]> and I need to join them in Product[] from it.
+4  A: 

You can use SelectMany and then ToArray to do this.

var result = source.SelectMany(i => i).ToArray();
Daniel Earwicker
A: 

You can use .Concat() extension method as well, and then .ToArray(): x.Concat(y).Concat(z).ToArray();

Ravadre