title: Type casting to EntityCollection<Object>
body: <p>I have a method taking a parameter EntityCollection</p>
  
  <p>Say:</p>
  
  <pre><code>DisplayItems(EntityCollection&lt;Object&gt; items);
  </code></pre>
  
  <p>Why is it not possible to call?</p>
  
  <pre><code>EntityCollection&lt;Student&gt; students;
  
  DisplayItems((EntityCollection&lt;Object&gt;) students); //type casting here
  </code></pre>
  
  <p>How can I achieve this?</p>
  
  <p>Please help</p>