tags:

views:

129

answers:

1

Hi,

I've created a MethodCallExpression that calls a function which returns a bool. My problem is to convert the MethodCallExpression somehow into a BinaryExpression.

Or otherwise stated, how can i construct this expression by hand:

Expression<Func<string, bool>> exp = x => x.Contains("test");

A: 

Problem solved, see comments

MarioH