摘要: http://x5.tsiokos.com/posts/2004/12/02/missing-icomparer/5.CompareTo(4); // returns 1 (greater than)5.CompareTo(5); // returns 0 (equal)5.CompareTo(6); // returns -1 (less than)// A class will only co... 阅读全文
posted @ 2006-06-04 20:33 ekeen 阅读(285) 评论(0) 推荐(0) 编辑
摘要: http://chiname.cnblogs.com/archive/2004/12/30/84385.html哈希表中的项存储在System.Collections.DictionaryEntry 对象中,可用foreach来遍历哈希表中的值,如下: HashtablemyHashtable=newHashtable; foreach(DictionaryEntryentryinmyHashta... 阅读全文
posted @ 2006-06-04 17:42 ekeen 阅读(1021) 评论(0) 推荐(0) 编辑