怎么删除a.txt?总是报错 FileStream fs = File.OpenRead(filePath + "\\a.txt");byte[] inputeByteArray = new byte[fs.Length]; fs.Read(inputeByteArray, 0, (int)fs.Length);fs = File.OpenWrite(filePath+"\\b.abc");fs.Close();System.IO.File.Delete(filePath+ "\\a.txt"); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 FileStream fs = File.OpenRead(filePath + "\\a.txt");byte[] inputeByteArray = new byte[fs.Length]; fs.Read(inputeByteArray, 0, (int)fs.Length);fs.Close();fs = File.OpenWrite(filePath+"\\b.abc");fs.Close();System.IO.File.Delete(filePath+ "\\a.txt"); winform 求在固定窗体活动,不在其他区域活动的实例 C# 中如何使用 .res 资源 ??? (非 .resx 资源 !!) 请问我要在vs2008中调整启动表单,我在哪里调整。 泛型赋值变化问题!!!!!!!急!!! 前两个帖子发的比较失败,都是300分,却都不超过20个人回答... split的用法,在线等,很简单 winform(C#) 程序如何避免win7的渐入渐出效果 关于XML的问题 怎样为windows窗体下面的datagrid控件某一列添加textbox控件。 DataTable.Select()方法的一些问题 谁能给我一个思路 求算法,高手进
byte[] inputeByteArray = new byte[fs.Length];
fs.Read(inputeByteArray, 0, (int)fs.Length);
fs.Close();
fs = File.OpenWrite(filePath+"\\b.abc");
fs.Close();
System.IO.File.Delete(filePath+ "\\a.txt");