2008年5月22日

摘要: # 操作txt文件2008-03-31 16:56 c#创建文本 private const string FILE_NAME = "ErroLog.txt"; public static void WriteFile(string str) ...{ StreamWriter sr; if (File.Exists(FILE_NAME)) //如果文件存在,则创建File.AppendText对... 阅读全文

posted @ 2008-05-22 23:05 hesen 阅读(4543) 评论(0) 推荐(0) 编辑