2008年10月30日

摘要: 在我们使用文件读取时,往往会看到StreamReader或者File.ReadAllLInes这样的方法,有时候我就想这两个有什么差别呢?于是写个小程序比较下 1: using System; 2: using System.Collections.Generic; 3: using System.Linq; 4: using System.Text; 5: us... 阅读全文
posted @ 2008-10-30 01:18 xwang 阅读(697) 评论(0) 推荐(0) 编辑
摘要: 我们都知道静态变量属于类型之间共享的数据,但是自己也没有进去看看,近日有兴趣,写那些长篇大论似乎不在状态,时间紧迫,拿起static开始. 从代码开始 1: using System; 2: using System.Collections.Generic; 3: using System.Linq; 4: using System.Text; 5: 6... 阅读全文
posted @ 2008-10-30 00:50 xwang 阅读(269) 评论(0) 推荐(0) 编辑

导航