Skip to main content
This is lesson 10 of 11 in this module Course 18% complete

Demo: Boxing And Unboxing In Intermediate Language

Premium Content

Sign in with your account or sign up to access this lesson.

We use .NET Insights to inspect the compiled DLL, locate the explicit box and unbox IL instructions in the main method, and demonstrate how these two redundant memory copy operations survive compilation and would execute millions of times unnecessarily inside a tight loop.