Install-Packge ExpressionTreeToString
Expression<Func<Book, bool>> e = b => b.Price>100; Console.WriteLine(e.ToString("Object notation", "C#")); Console.WriteLine(e.ToString("Factory methods", "C#"));
Install-Packge ExpressionTreeToString
Expression<Func<Book, bool>> e = b => b.Price>100; Console.WriteLine(e.ToString("Object notation", "C#")); Console.WriteLine(e.ToString("Factory methods", "C#"));