What is the purpose of LINQ's Expression.Quote method?
问题 The MSDN documentation states: Expression.Quote Method Creates a UnaryExpression that represents an expression that has a constant value of type Expression. I've been able to build predicate expressions for use in LINQ queries by manually constructing them using the Expression class, but have never come across the need for Expression.Quote. When and why would you use this? From the LINQ expressions I've seen that have them, they just seem to wrap existing expressions without adding any value.