Skip navigation

Boxing vs. unboxing

Boxing vs. unboxing: Nail Your C# Developer Interview
Boxing vs. unboxing: Nail Your C# Developer Interview

Boxing is the process of converting a value type to the type object or to any interface type implemented by this value type. When the CLR boxes a value type, it wraps the value inside a System.Object and stores it on the managed heap. Unboxing extracts the value type from the object. Boxing is implicit; unboxing is explicit. The concept of boxing and unboxing underlies the C# unified view of the type system in which a value of any type can be treated as an object.

Resume Transcript Auto-Scroll
Skill Level Beginner
1h 17m
Duration
55,656
Views
Show More Show Less
Skills covered in this course
Developer Programming Languages C#

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now