Boxing and Unboxing in C#

While working on some threading stuff, I came across an excellent article on boxing and unboxing in C#. The author goes into great detail showing performance along with IL.

Boxing and Unboxing in C#

It was somewhat comforting to see that I’m already coding in a way that doesn’t need boxing or unboxing. Some things seemed a bit odd that people wouldn’t do that to start with.

Anyways, it was a good read to refresh myself on why I’m doing certain things, as I’m sure I’d read about it before and simply forgotten why.


Written by:

276 Posts

View All Posts
Follow Me :

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.