c#文件读写操作
摘要:1.read Text file try { FileStream fs = new FileStream(@"c:\test.txt", FileMode.Open, FileAccess.Read); StreamReader sr = new StreamReader(fs); string curLine; while( (curLine = sr....
阅读全文
posted @ 2007-12-24 14:11