IEnumreable dynamic and lambda
问题 I would like to use a lambda expression on a IEnumerable<dynamic> type, howerver im getting the following error on attributes and coordinates where im using a new lambda expression: Cannot use a lambda expression as an argument to a dynamically dispatched operation without first casting it to a delegate or expression tree type . Here is my code public static object returnFullSelectWithCoordinates(IEnumerable<dynamic> q) { return q.Select(b => new { route_id = b.b.route_id, name = b.b.name,