Monday, August 30, 2004 3:39 PM
pgolde
UPDATE: Null keys in dictionaries
I was happy to see that the .NET BCL team agreed to change the KeyValuePair and DictionaryEntry structs to allow null keys. This will allow the PowerCollection dictionary classes to support null keys.
In fact, there is a clever work-around that was pointed out to me to get this to work even on Beta 1; if you use the default constructor on these structs, you can get a null key value into them anyway.