v4.0.30
Download the library here
- ADDED: Support to
delegate
keyword
var delegateAction = Eval.Execute<Action>(@"Action greet = delegate { Console.WriteLine(""Hello!""); };");
delegateAction();
var delegateFunc = Eval.Execute<Func<int, int, int>>(@"Func<int, int, int> sum = delegate (int a, int b) { return a + b; }; return sum;");
var x1 = delegateFunc(1, 2);
Trial unlocked until the end of February