Constructor parameter - IList<CustomType>
<p>I am using a third party API which has a class. The constructor of this class accepts <code>IList&lt;CustomType&gt;</code>. Here is the constructor per its documentation</p>

<pre><code>public LogicalOrFilter(
IList&lt;ElementFilter&gt; filters
)
</code></pre>

<p>I have tried passing in a <code>list&lt;ElementFilter&gt;</code> when I initialize this object. However it does not work, it does not throw any runtime error. Being a third party API, I do not know its internal workings. This class has another constructor that just accepts a single <code>ElementFilter</code>. When I use that, the class does what I want. So I am sure the rest of my code is okay. Can anyone explain which standard data structure could I pass in to this constructor. </p>
