I used this code to copy one 2D array to another 2D array:
Array.Copy(teamPerformance, 0,tempPerformance,0, teamPerformance.Length);
However, when I change some data in tempPerformance
then these changes also apply to teamPerformance
.
What should I do to control that?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…