Eval Expression.NET...Definition...The ...Eval-Expression.NET... library allows evaluating, compiling and executing C# code and expression at runtime....It supports nearly everything including:...Anonymous Type...Extension Methods...Generic Type...Lambda Expression...String Interpolation...Eval.Execute...Execute a C# expression and return the result....int result = Eval.Execute<int>("X + Y", new { X = 1, Y = 2});
int result = Eval.Execute<int>(@"
var list = new List<int>() { 1, 2, 3, 4, 5 }...