using System; namespace PermutationTabBis { class MainClass { public static void Main (string[] args) { int n = 10; int [] t = new int[n]; for (int i = 0 ; i < n ; i++) t[i] = i + 1; int temp = t[n - 1]; for (int i = n-1 ; i >= 1 ; i--) t[i] = t[i-1]; t[0] = temp; foreach(int val in t) Console.WriteLine(val); } } }