title: How do I concatenate two arrays in C#?
body: <pre><code>int[] x = new int [] { 1, 2, 3};
  int[] y = new int [] { 4, 5 };
  
  int[] z = // your answer here...
  
  Debug.Assert(z.SequenceEqual(new int[] { 1, 2, 3, 4, 5 }));
  </code></pre>
  
  <hr>
  
  <p>Right now I use </p>
  
  <pre><code>int[] z = x.Concat(y).ToArray();
  </code></pre>
  
  <p>Is there an easier or more efficient method?</p>