Is anyone else disturbed by the fact that System.Collections.Specialized.StringDictionary does not implement IDictionary? Nor does NameValueCollection. Am I missing something?
posted @ Tuesday, August 21, 2007 8:29 AM
maybe because they work against string whilst idictionary specifies objects
Christian is right. The System.Collections.IDictionary defines methods who consume and produce System.Object. .NET 2.0 introduced the new System.Collections.Generic.IDictionary<K,V> interface, and this one pretty much deprecates the old StringDictionary and NameValueCollection types.
RSS ATOM