public static void Main()
int[] arr = new int[10] { 100, 50, 20, 40, 10, 60, 80, 70, 90, 30 };
int arrLength=arr.Length;
for(int i=0;i<arrLength-1;i++){
for(int j=i+1;j<arrLength;j++){
for(int k=0;k<arrLength;k++)
Console.WriteLine(arr[k].ToString());