Inverser les éléments d'un tableau

Je configurer un tableau et je voudrais créer une méthode qui retourne un tableau avec les éléments dans l'ordre inverse. par exemple, si il y a 10 slots puis array1[9] = 6 alors array2[0] = 6.
Je suppose que je dois retourner un tableau - comment puis-je faire?
Et je ne sais pas comment inverser et l'ajouter à un autre tableau.
Merci!!!!

        int[] arr = {43, 22, 1, 44, 90, 38, 55, 32, 31, 9};
        Console.WriteLine("Before");
        PrintArray(arr);
        Console.WriteLine("After");
        Reverse(arr);

         Console.ReadKey(true);

    }

    static int[] Reverse(int[] array)
    {
        for (int i = array.Length; i < 1; i--)
        {
            int x = 0;

            array[i] = array[x++];
            Console.WriteLine(array[i]);
        }

       }


         static void PrintArray(int[] array)
    {
        for (int j = 0; j < array.Length; j++)
        {
            Console.Write(array[j] + " ");

        }
        Console.WriteLine("");
Pouvez-vous ne pas simplement utiliser le tableau.Reverse();` ?

OriginalL'auteur baztown | 2013-08-23