04 2009 档案

.net 添加文本到文本文件
摘要:StreamWriter没有Append方法,只能用seek设置位置,然后stream.WriteLine() 或stream.write(),这样会覆盖原来的文本。找到需要添加行的位置,把要添加的行+原来后面所有的内容,再write()void AppendText(FileInfo file){... 阅读全文

posted @ 2009-04-07 18:50 oyl 阅读(240) 评论(0) 推荐(0)

namepace and assembly
摘要:Assembly will contain Namespaces, Classes, Data types it’s a small unit of code for deployment. Assembly defines the name of the .dll file.Namespace i... 阅读全文

posted @ 2009-04-07 10:53 oyl 阅读(180) 评论(0) 推荐(0)

导航