How to initialize new object with a data type List<T>? : <p>I am a beginner in C# and I want to initialize a new object which contains the datatype string as well a data type list&lt;> from a enumeration. How does the structure/semantics looks like if I put a List into a new object ?
Thank you for your help.</p>

<p>I have searched on stackoverflow and also on MSDN and didn't found a proper solution.</p>

<p>This is my code:</p>

<pre><code>Vegetables Veg1 = new Vegetables("Apple", List&lt;Colour&gt;("red, green, yellow"));
</code></pre>
