---
title: "Discussion on \"Boxing and Unboxing in C#\" | Hashnode"
description: "Discussion on \"Boxing and Unboxing in C#\". In .NET, as with many other languages, we use Value types and Reference types. Value types are stored on the stack (if they are not contained inside a reference type), and Reference types are stored on the heap.\nBoxing is taking a Value type and stor..."
url: "https://hashnode.com/posts/boxing-and-unboxing-in-csharp/62ba82933f3c29d73265186d"
---

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

Discussion

# [Boxing and Unboxing in C#](https://aliasger.dev/boxing-and-unboxing-in-csharp?utm_source=hashnode&utm_medium=feed)

In .NET, as with many other languages, we use Value types and Reference types. Value types are stored on the stack (if they are not contained inside a reference type), and Reference types are stored on the heap. Boxing is taking a Value type and stor...

Jun 28, 2022 · 2 min read · aliasger.dev  
Updated Jul 1, 2022  
Read the article

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

## Written by

[Aliasger Jaffer](https://hashnode.com/@aliasger)

@aliasger · Toronto, Ontario

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

Senior Developer - .NET and Angular

I am a developer from Toronto, Canada and I enjoy writing about JavaScript, Angular and the .NET framework.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
