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

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -