// @nuget: Z.Expressions.Eval
using System;
using Z.Expressions;
public class Program
{
public static void Main()
var obj = new TheObj();
var evalContext=new EvalContext();
var test=evalContext.Compile<Func<TheObj, bool>>("((1=1) or ((2=2)");
var result= test(obj);
Console.Write(result);
}
public class TheObj