Well you could simply store the values of both cells in two temporary variables and assign them to each other accordingly.(好吧,您可以简单地将两个单元格的值存储在两个临时变量中,并相应地相互分配它们。)
For example:(例如:)
var tempA=Arr[0][0];
var tempB=Arr[1][1];
Arr[0][0]=tempB;
Arr[1][1]=tempA;
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…