Difference between Expression<Func<>> and Func<>

Posted by Sir Psycho on Stack Overflow See other posts from Stack Overflow or by Sir Psycho
Published on 2010-04-19T01:57:07Z Indexed on 2010/04/19 2:03 UTC
Read the original article Hit count: 341

Filed under:
|

As an example, why do most LINQ operators accept Expression<Func<TSource>> and it's equivalent Func<TSource>

What's the benefit/reason for using the generic Expression class instead of straight up lamda syntax?

© Stack Overflow or respective owner

Related posts about c#

Related posts about LINQ