Given lists l1 = {1, 2} and l2 = {4, 5, 6 } I want to get a new list that has elements:
l1 = {1, 2}
l2 = {4, 5, 6 }
rez = { {1, 4}, {1, 5}, {1, 6}, {2, 4}, {2,
You want
l1.Join(l2, a => 1, b => 1, (a, b) => new [] { a, b });