上篇我们已经基本搞清楚了Hashtable,我们趁热打铁,继续探索一下字典是怎么实现的吧

二.Dictionary

Dictionary<string,string> d = new System.Collections.Generic.Dictionary<string, string>(10);
d.Add("1", "1");