摘要: using System.IO; namespace 读一行TXT内容 { class Program { static void Main(string[] args) { string path = @"D:\123\123.txt"; string conTent; ; FileStream 阅读全文
posted @ 2022-06-02 20:36 sbwynnss 阅读(45) 评论(0) 推荐(0) 编辑
摘要: using System.IO; namespace streamWrite方法 { class Program { static void Main(string[] args) { string path = "D:\\123\\123.txt"; string conTent = "中华人民共 阅读全文
posted @ 2022-06-02 19:20 sbwynnss 阅读(547) 评论(0) 推荐(0) 编辑
摘要: using System.IO;//必须包含此命令空间 static void Main(string[] args) { byte[] byteFile = new byte[30]; char[] charFile = new char[30]; string path = @"D:\TEST. 阅读全文
posted @ 2022-06-02 13:43 sbwynnss 阅读(146) 评论(0) 推荐(0) 编辑