摘要:
很多时候,对泛型(Generic) Diectionary求key或value,本演示是根据value来获取key。Insus.NET在下面准备一些数据: private Dictionary<int, string> GetData() { Dictionary<int, string> dic = new Dictionary<int, string>(); dic.Add(1, "A"); dic.Add(2, "B"); dic.Add(3, "C"); dic.Add(4, "D
阅读全文