Skip to content

Latest commit

 

History

History

expression-trees

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages products page_type name urlFragment description
csharp
dotnet
sample
Build and interpret expression trees
build-interpret-expression-trees
A sample console application that shows how to build and interpret expression trees.

C# expression trees sample

This sample is created during the Expression trees article for learning C# features. Please see that article for detailed steps on the code for this sample.

Key features

This sample demonstrates creating expression trees, parsing expression trees, and understanding the relationship between expression trees and the code you write every day in C#.

Build and run

To build and run the sample, enter the following command:

dotnet run

dotnet run builds the sample and runs the output assembly.