How do I smartly initialize an Array with two (or more) other arrays in C#?
double[] d1 = new double[5]; double[] d2 = new double[3]; double[] dTota
using System.Linq; int[] array1 = { 1, 3, 5 }; int[] array2 = { 0, 2, 4 }; // Concat array1 and array2. var result1 = array1.Concat(array2).ToArray();