using System.Diagnostics;
public string Type { get;set;}
public int Amount { get; set; }
public static void Main()
Console.WriteLine("Hello World");
Console.WriteLine(obj.GetType());
var expression = new Expression("Type = 'Test'");
Func<Test, bool> function = expression.ToLambda<Test, bool>();
Debug.Assert(function(obj));