C# 写入文件,读取文件
摘要:
主要使用IO流的:Directory、File、Stream类来实现 一、写入文件 //1.创建目录(文件夹) string directoryPath = AppDomain.CurrentDomain.BaseDirectory.ToString() + @"log";//使用当前程序的根目录 阅读全文
posted @ 2021-11-22 16:23 阿里正正 阅读(654) 评论(0) 推荐(0) 编辑