摘要:
直接上代码了,以后碰到类似的就直接用了public static TKey FindKeyByValue<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TValue value) { if (dictionary == null) throw new ArgumentNullException("dictionary"); foreach (KeyValuePair<TKey, TValue> pair in dictionary) ... 阅读全文
posted @ 2011-12-21 09:58 leon_ALiang 阅读(243) 评论(0) 推荐(0) 编辑