Skip to content

Are the boxing and unboxing processes really as time consuming as it is said?

License

Notifications You must be signed in to change notification settings

CSharp-Pills-15mg/Boxing-and-Unboxing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boxing and Unboxing

Pill Category

Language (C#)

Description

Boxing

  • When an instance of a value type is cast to a reference type, a "coat" is created over the instance, in order to be perceived as a reference type. This is called boxing.

Unboxing

  • Unboxing is the reversed process, of extracting the value from the "coat".

Question

Everybody knows that boxing and unboxing are very time consuming. But, is it really true? This C# Pill is trying to answer this question:

  • Are the boxing and unboxing processes really as time consuming as it is said?

Donations

If you like my work and want to support me, you can buy me a coffee:

ko-fi

About

Are the boxing and unboxing processes really as time consuming as it is said?

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages