---
title: "Discussion on \"How boxing and unboxing decompile in C#\" | Hashnode"
description: "Discussion on \"How boxing and unboxing decompile in C#\". An implicit conversion from int to object is one of the quietest expensive things in C#. You write object o = n; — no cast, no ceremony — and a heap allocation happens. The C# says nothing about it. T"
url: "https://hashnode.com/posts/how-boxing-and-unboxing-decompile-in-c/6af59e56a5b3415bef36d001"
---

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

Discussion

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

An implicit conversion from int to object is one of the quietest expensive things in C#. You write object o = n; — no cast, no ceremony — and a heap allocation happens. The C# says nothing about it. T

6d ago · 8 min read · delta1labs.hashnode.dev  
Updated 1h ago  
Read the article

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

## Written by

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

@clustron

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
