using System.Linq.Expressions;
using System.Linq.Dynamic.Core;
public static void Main()
var baseQuery = new int[] { 1, 2, 3, 4, 5 }.AsQueryable();
var result1 = baseQuery.Select("it * $");
var result2 = baseQuery.Where("it % 2 = 0");
foreach (var val in result1)
foreach (var val in result2)