Value types and Nothing
A while back I
blogged about some interesting IL generated by the VB.NET compiler. Basically, VB.NET allows you to set a value type to Nothing and the resulting IL seems overkill. Today, while I was googling for something .NET related I found
Dan McKinley's blog. Earlier this year he had
blogged about this very same thing and got a comment from
Paul Vick (Technical Lead on VB.NET @ Microsoft) that this was actually a bug in the VB.NET compiler that has been fixed in VB 2005. Good to know!