Cast IList to List
<p>I am trying to cast IList type to List type but i am getting error every time.</p>

<pre><code> List&lt;SubProduct&gt; subProducts= Model.subproduct;
</code></pre>

<p>Model.subproduct return me IList.</p>

<p>Please help me to fix this.</p>
