2011年12月21日

摘要: 直接上代码了,以后碰到类似的就直接用了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 阅读(237) 评论(0) 推荐(0) 编辑


Copyright © 2024 leon_ALiang
Powered by .NET 8.0 on Kubernetes