Boxing_and_Unboxing in C#

Dev_NarenDev_Naren
1 min read

There is some concept available in C# or let’s say in .net. But basically Boxing and unboxing is the process of type conversion let’s see in depth.

Boxing : Boxing is a process of converting value type into reference type.

e.g. int to string.

Unboxing : Unboxing is a process of converting reference type into value type.

e.g. string to int.

Let’s design Employpayslip Console Application

0
Subscribe to my newsletter

Read articles from Dev_Naren directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Dev_Naren
Dev_Naren

I am a software developer. Exploring tech world. I just post my thoughts about tech and anythings which I'm curious about.