Just to note, I literally want to add the numbers Arithmetically, not concatenate them, literally 1+1 (2); 2+2 (4); so adding the numbers in the lists. Sorry for the confusion.
I have two arrays and need to add then together:
$Array1 = @(1,2,3,4,5)
$Array2 = @(2,3,4,5,1)
I need to go through every element and add them together (Arithmetically) so that I get:
1+2
2+3
3+4
In an array. How can I do this quickly? I'm using powershell 5.1.