Dictionary<string, int> dictionary = new Dictionary<string, int>();
dictionary.Add("cat", 1); dictionary.Add("dog", 3); dictionary.Add("iguana", 5);Dictionary<string, int> copy = new Dictionary<string, int>(dictionary);
本文共 220 字,大约阅读时间需要 1 分钟。
Dictionary<string, int> dictionary = new Dictionary<string, int>();
dictionary.Add("cat", 1); dictionary.Add("dog", 3); dictionary.Add("iguana", 5);Dictionary<string, int> copy = new Dictionary<string, int>(dictionary);
转载地址:http://jdcyx.baihongyu.com/