---
title: "Discussion on \"Decompiling C# 12: collection expressions and primary constructors\" | Hashnode"
description: "Discussion on \"Decompiling C# 12: collection expressions and primary constructors\". C# 12 added two features that read like single ideas in source but fan out into several very different shapes in IL. A collection expression — [1, 2, 3], or [.. first, .. second] — has no opcode of it"
url: "https://hashnode.com/posts/decompiling-c-12-collection-expressions-and-primary-constructors/6af3274cc79aa620ffe8befa"
---

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

Discussion

# [Decompiling C# 12: collection expressions and primary constructors](https://delta1labs.hashnode.dev/decompiling-c-12-collection-expressions-and-primary-constructors?utm_source=hashnode&utm_medium=feed)

C# 12 added two features that read like single ideas in source but fan out into several very different shapes in IL. A collection expression — \[1, 2, 3\], or \[.. first, .. second\] — has no opcode of it

1d ago · 8 min read · delta1labs.hashnode.dev  
Updated 40m 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.
