I\'ve encountered a purely hypothetical problem which feels like it has an easy solution if I find the right linq method...
I have two arrays of ints and I know they are
You can use the Select method.
int[] a = new[] { 1, 2, 3 }; int[] b = new[] { 10, 20, 30 }; var c = a.Select ((x, index) => x + b[index]).ToArray();