Manipulate the data

Aug 3 2007 4:20 AM
Hi,
I want to manipulate the data as a small part of my project.In short I have an array[250,200] ,where  numbers(actullay binary no.s) are stored .For simply let`s

int[,] array;
array = new int[5, 5];
 data are stored in array[,] as :
12345
12345
12345
12345
12345 OR
123451234512345123451234512345

I want manipulate the data as:
12345
54321
12345
54321
12345 OR
1234554321123455432112345
Means that :
Array[0,0]= Array[0,0];
Array[0,1]= Array[0,1];
Array[0,2]= Array[0,2];
Array[0,3]= Array[0,3];
Array[0,4]= Array[0,4];

Array[1,0]= Array[1,4];
Array[1,1]= Array[1,3];
Array[1,2]= Array[1,2];
Array[1,3]= Array[1,1];
Array[1,4]= Array[1,0];


Array[2,0]= Array[2,0];
Array[2,1]= Array[2,1];
Array[2,2]= Array[2,2];
Array[2,3]= Array[2,3];
Array[2,4]= Array[2,4];

Array[3,0]= Array[3,4];
Array[3,1]= Array[3,3];
Array[3,2]= Array[3,2];
Array[3,3]= Array[3,1];
Array[3,4]= Array[3,0];

Array[4,0]= Array[4,0];
Array[4,1]= Array[4,1];
Array[4,2]= Array[4,2];
Array[4,3]= Array[4,3];
Array[4,4]= Array[4,4];

Please send the strong and efficient logics because I have array[250,200]

Answers (2)