I have a method that accepts an Expression> as a parameter. I would like to use it as a predicate in the List.Find() method, but I can\'t
Expression>
Func func = expression.Compile(); Predicate pred = t => func(t);
Edit: per the comments we have a better answer for the second line:
Predicate pred = func.Invoke;