---
title: "Discussion on \"How local functions decompile in C#\" | Hashnode"
description: "Discussion on \"How local functions decompile in C#\". Add a small helper function inside a method, compile it, and open the assembly. The helper is not inside anything — it sits on the containing type as a private method with a name you could never type:"
url: "https://hashnode.com/posts/how-local-functions-decompile-in-c-mx4ewofr/6b0e7fcb6fe010d195da6de4"
---

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

Discussion

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

Add a small helper function inside a method, compile it, and open the assembly. The helper is not inside anything — it sits on the containing type as a private method with a name you could never type:

17h ago · 11 min read · delta1labs.hashnode.dev  
Read the article

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

## Written by

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

@clustron

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
