Casting boxed value types in C#
I came across these two posts on Eric Lippert‘s blog yesterday which I found very interesting: Representation and Identity Cast operators do not obey the distributive law The blog posts go into a lot of details but long story short, if you box a value type you can’t unbox it to another type: It would …