c# - Linq Compound selection -


How do I add an array during the combined selection ( without using the union ) ? (The question was said in the interview.)

  var num1 = new int [] (12, 3, 4, 5}; var num2 = new int [] (1, 33, 6, 10};  

I tried

var pair = num1 to select num2 in num2 new {joint = {a, b}}; Required: Required Combined {12,3,4,5,1,33,6,10}

  number 1. concat (num2);  

I'm not sure any related LINQ keyword is.

< / Div>

Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -