cls2deg


Comments:

C# 3.0: The Sweet and Sour of Syntactic Sugar

posted by cls2degcls2deg(1535) 5 years ago 0

Errrr... the CLR isn't being changed at all.

Reply

Dynamically building LINQ expression predicates

posted by cls2degcls2deg(1535) 4 years, 5 months ago 0

The only problem with the code presented in this article is that the predicates use Or and And instead of OrElse and AndAlso. The latter two should be use to provide boolean short-circuiting. Otherwise, every clause of a predicate will be executed each time it's invoked.

Reply