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
Use SelectMany when you want to form the Cartesian product of two lists:
aList.SelectMany(a => bList.Select(b => a + b))