How to access Individual elements of an object list which converted from a LINQ operation after passing to another method?
<p>I have a LINQ list as follows</p>

<pre><code>var lst =  (from entity in Entities
             join entity2 in E2.x equals Entities.x
                select entity);
</code></pre>

<p>2 . And um doing this after the above operation.
    return <code>lst.ToList&lt;Object&gt;()</code></p>

<p>and from another method um accessing this list like this.</p>

<pre><code> List&lt;Object&gt; listObjects = new MyBO().GetAllEntities();
</code></pre>

<p>please note that number 2 is in the <code>GetAllEntities</code> method</p>

<p>but from <code>listObjects</code> by iterating <code>listObjects</code> I cannot access the members in individual element .</p>

<p>How to access the individual elements?</p>

<p>this is the output returned from <code>GetAllEntities()</code></p>

<pre><code>[0] { id= XCD1S100001, Type = EXPORT}
[1] { id= XSD1S100001, Type = IMPORT}
</code></pre>

<p>How to acccess <code>listObjects[0].getType()</code> or <code>listObjects[0].Type</code> because it won't give such a method.</p>

<p>Please need a hand. </p>
