How do I concatenate two arrays in C#?
<pre><code>var x = new int [] { 1, 2, 3};
var y = new int [] { 4, 5 };

var z = // your answer here...

Debug.Assert(z.SequenceEqual(new int[] { 1, 2, 3, 4, 5 }));
</code></pre>

<p>--</p>

<p>Right now I use </p>

<pre><code>var z = x.Concat(y).ToArray();
</code></pre>

<p>I'm wondering if there is an easier or more efficient method.</p>
