I could've sworn that before System.Collections.Generic
, there was a class that was effectively KeyValuePair<string, string
>.
In other words, it was an object with one two members: a name or key, and value, and both were typed as strings.
Anyone know what I'm referring to?
它的属性是对象(不是字符串),但也许你正在寻找DictionaryEntry,因为它是迭代StringDictionary时返回的对象类型。
The class you are looking for is the StringDictionary.
http://msdn.microsoft.com/en-us/library/system.collections.specialized.stringdictionary.aspx
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.