Initializing List inline C#
<p>I'm getting a weird error when doing this: (.net 2.0)</p>

<pre><code>public overrides List&lt;String&gt; getSpaceballs

    {
    get { return new List&lt;String&gt;() { "abc","def","egh" }; }
    }
</code></pre>

<p>vs is asking for ; after (). Why?</p>

<p>I sure can do this:</p>

<pre><code>public overrides string[] getSpaceballs

    {
    get { return new string[] { "abc","def","egh" }; }
    }
</code></pre>
