title: Working with unknown object types?
body: <p>I am wanting to get the average of a column. I can get it working like:</p>
  
  <pre><code>           IEnumerable results = defaultView.Select(args);
             Decimal amount = results.Cast&lt;Fees&gt;().Average(x =&gt; x.Fee);
  </code></pre>
  
  <p>where results is a collection of System.Collections.Generic.List`1 objects. However results is not always the same  object because something else may be returned.</p>
  
  <p>It is always in the structure of x objects with 5-10 values each.</p>
  
  <p>I was hoping for a generic way to iterate over the data such as results[0][2] but can't find a way to access this data without using the strongly typed example above. Any ideas?</p>