int[][] rbik = new int[][]
new int[] {1, 1, 1, 1, 1, 1, 1, 1},
new int[] {2, 2, 2, 2, 2, 2, 2, 2},
new int[] {3, 3, 3, 3, 3, 3, 3, 3},
new int[] {4, 4, 4, 4, 4, 4, 4, 4},
new int[] {5, 5, 5, 5, 5, 5, 5, 5},
new int[] {6, 6, 6, 6, 6, 6, 6, 6},
public void rotate90(int face)
int[] faccia = rbik[face];
for(int x=0; x<faccia.Length-2; x++)
faccia[faccia.Length-2]=b;
faccia[faccia.Length-1]=c;
public static void Main()
Console.WriteLine("Hello World");