title: Cannot use a lambda expression as an argument to a dynamically dispatched operation
body: <p>I'm trying to perform the following</p>
  
  <pre><code>int myObject = getValues(someVar).Sum(x =&gt; Int32.Parse(x.Price))
  </code></pre>
  
  <p>The function looks this:</p>
  
  <pre><code>List&lt;dynamic&gt; getValues(string something) {...}
  </code></pre>
  
  <p>This is the error I'm receiving:
  "Cannot use a lambda expression as an argument to a dynamically dispatched operation"</p>
  
  <p>How can I SUM the values of a List object in a chained call similar to LINQ SUM?</p>