This is lesson 11 of 11 in this module
Course 35% complete
Demo: Eliminate Boxing And Unboxing
We modify the code to replace the object variable with a strongly typed int, recompile the app, and inspect the updated DLL to confirm the box and unbox instructions are completely gone. This delivers the first concrete, measurable performance optimization of the training.
Previous Module
.NET Runtime Memory Management
This Module
The .NET Type System