int[,] array = new int[15,15] { 0 }


int[,] DeepCopy()

{

int[,] temp = new int[15,15];

for(int i = 0 ; i

for(int j = 0; j

temp[i,j] = array[i,j];

return temp;

}

이걸 수십만번하는게 빠른지


int[,] DeepCopy()

{

int[,] temp = new int[15,15];

temp[0,0] = array[0,0] , temp[0,1] = array[0,1] ..... temp[14,14] = array[14,14];

return temp;

}


이걸 수십만번하는게 빠른지 궁금합니다


수십만번 돌린다 쳤을시 둘중에 어느게 더 빠른가요?