简体   繁体   中英

.NET: Non-generic for KeyValuePair<string, string>?

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 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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM