September 08, 2004

.NET Framework Internals

For any serious .NET Developer, I highly recommend downloading the Shared Source CLI (ROTOR) . There are fascinating finds in the Microsoft source code and plenty of things that make you go hmmm. Along with funny comments like " HACK, HACK, HACK" (see DateTime.cs), there are a number of interesting tidbits (who knew void is a struct?!) of code. Some things seem weird like XmlNode (base class) knowing about XmlDocument (derived class) internally. Even if you never compile the code, reading it will make you a better developer.

UPDATE: I've emailed Brad Abrams concerning the XmlNode/XmlDocument design to see if the SLAR author can shed some light on this. I'll post his findings here if he's cool with it.

Posted by Christian at September 8, 2004 12:30 PM |
Comments
Post a comment