retrieving parameter from function
<p>I have 2 functions, one that gets a name and the other that is being set up to Delete from the list of name. There are no compliation errors, but my DeleteName doesn't display anything. Probally a simple fix, what did I overlook?</p>

<pre><code>    public static List&lt;string&gt; GetName(List&lt;string&gt; aString)
    {
        aString = new List&lt;string&gt;();
        localList.Add("cat");
        localList.Add("apple");
        localList.Add("bass");
        localList.Add("dog");
      return aString;
    }
    public static List&lt;string&gt; DeleteName(List&lt;string&gt; aString)
    {
        aString = new List&lt;string&gt;();
        GetName(aString);
        foreach (string x in aString)
        {
            Console.WriteLine(x);
        }
        return aString;
    }
</code></pre>
