Env.: .NET4 C#
Hi All,
I want to combine these 2 lists : { \"A\", \"B\", \"C\", \"D\" } and { \"1\", \"2\", \"3\" }
{ \"A\", \"B\", \"C\", \"D\" }
{ \"1\", \"2\", \"3\" }
into this o
Essentially, you want to generate a cartesian product and then concatenate the elements of each 2-tuple. This is easiest to do in query-syntax:
var cartesianConcat = from a in seq1 from b in seq2 select a + b;