TYPE

Expression<TDelegate>

Represents a typed lambda as an expression tree.

Formal Syntax & Structure

csharp syntaxcsharp
Expression<Func<int,bool>> rule = n => n >= 10;

Working Example

Example Snippetcsharp
// Documentary fragment; supply surrounding declarations as needed.Expression<Func<int,bool>> rule = n => n >= 10;
C# & .NET Reference