饱满老鼠

文章
2
资源
0
加入时间
3年2月3天

键值对Dictionary、KeyValuePair、Hashtable 简单使用。

KeyValuePair是单个的键值对对象。KeyValuePair可用于接收combox选定的值。例如:KeyValuePair<string, object> par = (KeyValuePair<string, object>)shoplistcomboBox.SelectedItem;单线程程序中推荐使用 Dictionary, 有泛型优势, 且读取速度较...