Dictionary<string, Socket> d = new Dictionary<string, Socket>(); 添加 d.Add(sss,sss) 详细用法 http://blog.jues.org.cn/post/c-zhong-tong-guo-indexfor-xun-huan-lai-huo-qu-dictionary-jian-zhi.html —- Hashtable ht = new Hashtable(); ht.Add(“A“, 1);