c# - Is it possible to Merge stacks with LINQ -
I'm just starting to learn LINQ, I'm wondering if it's possible to group elements in 3 different stacks Would it be possible to add more than one array from the clause, and this is what I have with LINQ?
var exclusive value = values from n to n strikes. Toure () Select n nGroup nGroup.Key in group n;
You can pile up union
together.
var s1 = new stack & lt; Int & gt; (); Var s2 = new stack & lt; Int & gt; (); Var s3 = new stack & lt; Int & gt; (); Var r = s1.Union (s2.Union (s3)). ToArray ();
Comments
Post a Comment