I have two int arrays of the same length 5, array1 & array2. I want to add the values of array2 to the values of array1. Is there a faster/more concise way to do this other than a simple for loop? Maybe using LINQ?
for (int i = 0; i < 5; i++)
array1[i] += array2[i];