![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#文件操作
长江
今天喜欢你,明天喜欢她
最后发现一直喜欢的只有代码!
展开
-
C#文件操作大全
1.创建文件夹 //using System.IO; Directory.CreateDirectory(%%1); 2.创建文件 //using System.IO; File.Create(%%1); 3.删除文件 //using System.IO; File.Delete(%%1); 4.删除文件夹 //using System.IO; Directory.Delet转载 2011-11-02 14:26:20 · 7477 阅读 · 0 评论 -
读写INI
//读写INI public class GF_INI { [DllImport("kernel32")] private static extern long WritePrivateProfileString(string section, string key, string val, string filePath); [D转载 2011-11-02 23:01:21 · 630 阅读 · 0 评论 -
简单文件操作
//文件操作 public class GF_File { /// /// 写日志文件 /// /// 年月 例 2011-04 /// 月日 例 04-22 /// 时间+ 内容 /// public st转载 2011-11-02 23:04:10 · 452 阅读 · 0 评论