chiname

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

12 2004 档案

摘要:哈希表中的项存储在System.Collections.DictionaryEntry 对象中,可用foreach来遍历哈希表中的值,如下: Hashtable myHashtable = new Hashtable; foreach(DictionaryEntry entry in myHashtable) {  &... 阅读全文
posted @ 2004-12-30 16:43 把我的欢乐带给你 阅读(4049) 评论(1) 推荐(0)

摘要:请点击这里阅读全文 阅读全文
posted @ 2004-12-15 16:14 把我的欢乐带给你 阅读(2026) 评论(0) 推荐(0)

摘要:请点击这里阅读全文 阅读全文
posted @ 2004-12-15 11:20 把我的欢乐带给你 阅读(5445) 评论(1) 推荐(0)

摘要:1.工厂模式12.工厂模式2 阅读全文
posted @ 2004-12-14 15:00 把我的欢乐带给你 阅读(1674) 评论(0) 推荐(0)

摘要:1.ASP.NET Starter Kit Portal Starter Kit (入口网站入门套件) Commerce Starter Kit (电子商务入门套件) Reports Starter Kit (报表产生入门套件) Time Tracker Starter Kit (项目追踪入门套件) Community Starter Kit (论坛入门套件) Issue Tracker Star... 阅读全文
posted @ 2004-12-08 17:15 把我的欢乐带给你 阅读(3839) 评论(0) 推荐(0)

摘要:三种常用的字符串判空串方法: Length法:bool isEmpty = (str.Length == 0); Empty法:bool isEmpty = (str == String.Empty); General法:bool isEmpty = (str == ""); 实践证明用Length方法判空是最快的(在32位系统上,System.Int32运算最快了),注意只有... 阅读全文
posted @ 2004-12-03 10:14 把我的欢乐带给你 阅读(4777) 评论(2) 推荐(0)