Instantiate A Property Of Type List<>
<p>I created a property of type List in my class</p>

<pre><code>public List&lt;string&gt; CategoryRef { get; set; }
</code></pre>

<p>Now when I wanna add a string to the list I try </p>

<pre><code>Product p=new Product();
p.CategoryRef.Add("Nick");
</code></pre>

<p>The compiler yells at me saying the object isnt set to an instance of an object. How to I instantiate a property?</p>
