0
Why?
Still having problem with this problem, could someone explain me why does it start to change letters only from "o" letter. https://code.sololearn.com/c5EXlYJw6D2s/?ref=app
1 Answer
0
The problem is:
reverse = alphabet
Here bothe are pointers. So now reverse is also pointing at the the same array. So if you reverse "reverse", alphabet will also reverse.
Instead use CopyTo method to assign value to reverse