Error: Cannot implicitly convert type 'void' to 'System.Collections.Generic.List'
<p>I am trying to set a property of my .ascx controls from an .aspx using that control. </p>

<p>So in one of my <strong>.aspx</strong> which has this control in it, I have the following code trying to set the ItemsList property of my embedded .ascx:</p>

<pre><code>Item item = GetItem(itemID);
myUsercontrol.ItemList = new List&lt;Item&gt;().Add(item);
</code></pre>

<p>The property in the .ascx that I'm trying to set looks like this:</p>

<pre><code>public List&lt;Item&gt; ItemsList
{
   get { return this.itemsList; }
   set { this.itemsList = value; }
}
</code></pre>

<p><strong>Error</strong>: Cannot implicitly convert type 'void' to 'System.Collections.Generic.List'</p>

<p>So I don't get where it's getting void as part of the property?...weird.</p>
