摘要: //写 using (FileStream fs = File.Create(filename)) { byte[] info = new UTF8Encoding(true).GetBytes("This is some text in the file."); fs.Write(info, 0, 阅读全文
posted @ 2022-04-01 15:52 汪洪辉 阅读(126) 评论(0) 推荐(0)
摘要: 写入xml文件 第一种方法:使用XmlDocument类: Demo1 阅读全文
posted @ 2017-08-05 20:11 汪洪辉 阅读(5228) 评论(0) 推荐(0)