using System; namespace PermutationTab { 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 [] tbis = new int[n]; for (int i = 0 ; i < n ; i++) tbis[(i+1)%n] = t[i]; foreach(int val in tbis) Console.WriteLine(val); } } }