Need a function to reverse an array in C# : <p>I need to create a function that receives an array items and reverses the order of items in the array and returns it. </p>

<p>Basically if I have an array ['cat', 'dog', 'bird', 'worm'] the function should return an array of ['worm','bird','dog','cat']. </p>

<p>So far I get lost in the function language... I have this.</p>

<pre><code>       //Split a string into an array of substring
        string avengersNames = "Thor;Iron Man;Spider-Man;Hulk;Hawk Eye";

        //Creat an array to hold substring
        string[] heroArray = avengersNames.Split(';');

        foreach (string hero in heroArray)
        {
            Console.WriteLine(hero);


        }


    //Parameter is Array of items
    //At a loss when trying to incorporate an array into this function.
    public static string[] heroList = new string[5];
    {

    }
</code></pre>
