摘要: One of the new language features introduced with .NET 2.0 was the generic collection. In the past, even as far back as Visual Basic 6.0, you could create a custom collection class for your classes. With .NET 1.0/1.1, you could add objects to standard collection classes like the ArrayList and the Hashtable classes. However, when you looked at the members of those collections, they were not strongly typed and had to be cast back to the original type 阅读全文
posted @ 2006-12-20 15:41 轻松 阅读(694) 评论(0) 推荐(0) 编辑
摘要: 由于对于ini文件的格式不是很了解,能读的ini文件格式有很大的限制. 阅读全文
posted @ 2006-12-14 17:09 轻松 阅读(2686) 评论(0) 推荐(0) 编辑
摘要: 转自http://www3.ccw.com.cn/club/essence/200201/7841.htm C#中显性地调用finalizer是不允许的,它只能被碎片收集程序调用。如果希望尽快地释放一些不再使用的数量有限的非可管理性资源(如文件句柄),则应该使用IDisposable界面,这一界面有个Dispose方法,它能够帮你完成这个任务。Dispose是无需等待Finalize被调用而能够... 阅读全文
posted @ 2006-09-30 10:11 轻松 阅读(627) 评论(1) 推荐(0) 编辑
摘要: 如何在vb.net中调用Excel中的宏,已启动就运行的那种,谢谢了 阅读全文
posted @ 2006-04-05 19:37 轻松 阅读(1454) 评论(2) 推荐(0) 编辑
摘要: 上周同学让我用汇编写一个 32位 X 32位 的程序 要求键盘输入乘数和被乘数 忙活了老半天才搞定。 下面是部分代码(与大家共同学习) 读取键盘 调用21号中断 ;====================== ;入口 Bx 存放读入数据 readproc push cx push ax push dx mov dx,0 mov ch,8 next1: cmp... 阅读全文
posted @ 2005-01-10 15:02 轻松 阅读(1512) 评论(0) 推荐(0) 编辑