题目 C#代码 public class Solution { public void ReverseString(char[] s) { int i=0; int j=s.Length-1; char temp; while(i<j) { temp=s[i]; s[i]=s[j]; s[j]=temp; i++; j--; } } }