Convert ICollection<T> to List<T>
<p>I am trying to convert ICollection to List using below code-</p>
<pre><code>ICollection&lt;DataStructure&gt; list_Stuctures = dataConnectorService.ListStructures(dataConnector, SupportedDataStructures.All);

List&lt;DataStructure&gt; lst_DataStructure = new List&lt;DataStructure&gt;();

list_Stuctures.CopyTo(lst_DataStructure);
</code></pre>
<p>On last line, I get below exception-</p>
<blockquote>
<p>Exception = TargetParameterCountException</p>
<p>Message = Parameter count mismatch.</p>
</blockquote>
<p>How to convert ICollection to List?</p>