2011年12月14日

摘要: 在日常开发中,经常会碰到对Dictionary的大量操作,判断等。当然可以用Dictionary本省,也可以重写一个符合自己逻辑处理的Dictionary.public class MyDictionary<TKey, TValue> : IDictionary<TKey, TValue> { IList<TKey> keys = new List<TKey>(); IList<TValue> values = new List<TValue>(); public MyDictionary() { } ... 阅读全文

posted @ 2011-12-14 10:49 leon_ALiang 阅读(210) 评论(0) 推荐(0) 编辑


Copyright © 2024 leon_ALiang
Powered by .NET 8.0 on Kubernetes