Boxing and Unboxing in .NET
Coding Blocks
Allen Underwood, Michael Outlaw, Joe Zack
4.9 • 1K Ratings
🗓️ 28 September 2013
⏱️ 34 minutes
🧾️ Download transcript
Summary

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. Download the episode on iTunes or Stitcher and make sure to drop your feedback […]Transcript
Click on a timestamp to play from that location
| 0:00.0 | Hi, you're listening to coding blocks, episode 2. |
| 0:07.0 | Subscribe to us on iTunes, Stitcher, or your favorite podcast app. |
| 0:11.0 | Be sure to give us reviews on iTunes. |
| 0:14.0 | Visit us at coding blocks dot net where you can find our show notes examples |
| 0:17.7 | discussion and more send feedback to comments at coding blocks dot net. |
| 0:24.0 | All right so welcome to coding blocks. I'm Joe Zach |
| 0:28.0 | I'm Michael Outlaw and I'm Alan Underwood and today we're discussing boxing and unboxing. |
| 0:33.6 | Yeah so we wanted to give you guys like a real world example and |
| 0:37.0 | Grand Theft Auto just came out the new version and |
| 0:40.0 | say I wanted to ship a version or a copy of it to Michael because he's the outlaw. |
| 0:46.0 | That joke never gets old. |
| 0:49.0 | And depending on how I'm shipping it, you know, there's UPS or FedEx or DHL, the shipper doesn't really know what's in the box. |
| 0:55.8 | They know how much it weighs, but they don't know it could be flammable or fragile. |
| 1:01.2 | They're supposed to know if it's fragile, but in any case, the recipient knows |
| 1:05.3 | how to use it and it's a responsibility to know, but the shipper just cares that they can |
| 1:09.4 | treat it like any other box. They can put it on their planes and trains and trucks and get to the receiver |
| 1:14.6 | and that's all they care about. And it's up to the recipient to know what to do with it. |
| 1:19.5 | It's a little bit like our topic this week. We're going to be talking about boxing and |
| 1:22.5 | unboxing. I just want to give you a little background before we get started. |
| 1:26.5 | All right, so that leads us into the stack and just a real quick overview of the |
| 1:30.5 | stack is there is a very small piece of memory and I believe it's |
| 1:34.1 | one megabyte by definition of variables within a method that actually go on to the |
... |
Please login to see the full transcript.
Disclaimer: The podcast and artwork embedded on this page are from Allen Underwood, Michael Outlaw, Joe Zack, and are the property of its owner and not affiliated with or endorsed by Tapesearch.
Generated transcripts are the property of Allen Underwood, Michael Outlaw, Joe Zack and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.
Copyright © Tapesearch 2026.

