public static void Main()
Random rnd = new Random();
for(int x=0;x< arr.Length;x++)
for( int x=0;x< arr.Length;x++)
Console.Write("{0} ",arr[x]);
for( int y=arr.Length-1;y>0;y--)
for( int x=0;x< arr.Length;x++)
Console.Write("{0} ",arr[x]);
Console.WriteLine("number of loops={0}",mone);