2008年7月25日
摘要: 泛型最常见的用途是泛型集合,命名空间System.Collections.Generic 中包含了一些基于泛型的集合类,使用泛型集合类可以提供更高的类型安全性,还有更高的性能,避免了非泛型集合的重复的装箱和拆箱。 很多非泛型集合类都有对应的泛型集合类,下面是常用的非泛型集合类以及对应的泛型集合类: 非泛型集合类 泛型集合类 ... 阅读全文
posted @ 2008-07-25 16:54 李辉明 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 测试平台: 奔腾1.6G 双核CPU 1G内存 vs2008 调试环境测试。 一、ArrayList (100W,1W) Stopwatch timer = new Stopwatch(); timer.Start(); System.Collections.ArrayList al = new System.Colle... 阅读全文
posted @ 2008-07-25 15:06 李辉明 阅读(348) 评论(0) 推荐(0) 编辑
摘要: using#region using using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Text; using System.Web... 阅读全文
posted @ 2008-07-25 14:41 李辉明 阅读(864) 评论(0) 推荐(0) 编辑
摘要: using#region using using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Text; using System... 阅读全文
posted @ 2008-07-25 14:40 李辉明 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 点击返回上页代码: 弹出警告框代码: 点击打开新窗口 删除记录时弹出确认框: 关闭打开的窗口 关闭窗口 清空INPUT且选定 onClick="Javascript:this.value=''" onFocus="this.select()" onMouseOver="this.focus()" 右键屏蔽 连串英文自动换行的解决方法 IE5.5 style="LEF... 阅读全文
posted @ 2008-07-25 10:35 李辉明 阅读(370) 评论(0) 推荐(0) 编辑