---
title: "Discussion on \"How C# expression trees decompile\" | Hashnode"
description: "Discussion on \"How C# expression trees decompile\". A lambda is one of the few constructs in C# whose compilation depends on something outside the lambda. Write x => x + 1 and assign it to a Func<int, int> and you get a hidden static method and a deleg"
url: "https://hashnode.com/posts/how-c-expression-trees-decompile/6af3275dc79aa620ffe8f199"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How C# expression trees decompile](https://delta1labs.hashnode.dev/how-c-expression-trees-decompile?utm_source=hashnode&utm_medium=feed)

A lambda is one of the few constructs in C# whose compilation depends on something outside the lambda. Write x => x + 1 and assign it to a Func<int, int> and you get a hidden static method and a deleg

6d ago · 15 min read · delta1labs.hashnode.dev  
Updated 43m ago  
Read the article

-   [#glassnet](https://hashnode.com/tag/glassnet)
-   [#decompilation](https://hashnode.com/tag/decompilation)
-   [#csharp](https://hashnode.com/tag/csharp)

## Written by

[Zero Heartbeat](https://hashnode.com/@clustron)

@clustron

  
[View profile](https://hashnode.com/@clustron)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
