// C# Eval Expression
// Doc: https://eval-expression.net/eval-context
// @nuget: Z.Expressions.Eval
/*
## Instance Context
The instance context is the common usage you know from a class. You create a new instance of the `EvalContext` and directly use properties and methods from it:
See more: https://eval-expression.net/eval-context
*/
using System;
using System.Collections.Generic;
using Z.Expressions;
public class Program
{
public static void Main()
// CREATE a new instance of EvalContext
var context = new EvalContext();
// USE the `Execute` method from the context created
var list1 = context.Execute<List<int>>("new List<int>() { 1, 2, 3 };");
FiddleHelper.WriteTable(list1);
}