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