How does PredicateBuilder work
问题 C# in a Nutshell has a free class called PredicateBuilder which constructs LINQ predicates piece by piece available here. Here's an extract of the method which adds a new expression to the predicate. Could someone explain it? (I have seen this question, I don't want a general answer like there. I am looking for a specific explanation of how Expression.Invoke and Expression.Lambda build the new expression). public static Expression<Func<T, bool>> And<T> (this Expression<Func<T, bool>> expr1,