摘要: C#中提供文件管理的命名空间是 System.IO。其中包括了常见的文件操作,删除插入,移动等 ,using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO; //引用必须添加namespace file__test{ class Program { static void Main(string[] args) { //设置文件的绝对路径 string STR_path = @"d:/file.txt"; //创建文件 File.Crea 阅读全文
posted @ 2012-10-31 09:11 shouqiang Wei 阅读(154) 评论(0) 推荐(0) 编辑