GetHashCode Equals 与 Dictionary , Hash , List 的关系
摘要:Dictionary , HashSet , List 都可以看到 Contains 之类的函数。 比如 Dictionary.ContainsKey( keyTest ) 函数首先调用 keyTest.GetHashCode 比较是否已经有这样一个hashCode, 如果有,则直接...
阅读全文
posted @ 2012-08-27 17:57