摘要: private static ConcurrentDictionary dictDbNames = new ConcurrentDictionary(); 添加: dictDbNames.TryAdd(Id, dbName); 取值 dictDbNames[Id] 判断是否存在 dictDbNames.ContainsKey(Id) 阅读全文
posted @ 2018-03-06 16:12 爱与和平 阅读(425) 评论(0) 推荐(0) 编辑