using System.Collections.Generic;
public static void Main()
var context = new EvalContext();
var compiledList1 = context.Compile<Func<List<int>>>("new List<int>() { 1, 2, 3 };");
var list1 = compiledList1();
FiddleHelper.WriteTable(list1);
var compiledList2 = Eval.Compile<Func<List<int>>>("new List<int>() { 1, 2, 3 };");
var list2 = compiledList2();
FiddleHelper.WriteTable(list2);
var compiledList3 = "new List<int>() { 1, 2, 3 };".Compile<Func<List<int>>>();
var list3 = compiledList3();
FiddleHelper.WriteTable(list3);