DEV Community

CodingBlocks

Boxing and Unboxing in .NET

This episode is all about boxing and unboxing. We discuss memory management, the pros (yes, there are a few!) and cons of boxing/unboxing, some of the weird side effects and how to you can avoid it with generics and ToString methods.

Episode source