Consuming an Array returned from a Method
<p>from my function below, I am returning an array. In C# how would I consume that array?</p>

<pre><code> public Array arrayFucntion()
 {
// do something

 foreach (var Objs in items)
            {



                list.Add(Objs.value1);


            }

            string[] myArray = list.ToArray();
            MessageBox.Show(myArray.ToString());
            return myArray;
}
</code></pre>

<p>Now how would I use it in a function like below</p>

<pre><code>void consumeFunction()
        {

            var x = arrayFucntion();

       // what do do to see values of the array


        }
</code></pre>
