有谁知道如何将一个字节数组写成文件??? FileStream fs = new FileStream("test.txt");fs.Write(a, 0, a.Length);fs.Flush();fs.Close(); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 WebClient client = new WebClient();client.BaseAddress = "http://www.microsoft.com";FileStream fs = File.Create("c:\\index.html");fs.Close();client.DownloadFile("index.html","c:\\index.html"); 怎样用c#打开dwg文件 多线程问题 c# 文件操作的实现问题 怎样在程序中控制Window Form程序是否显示命令行窗口? 在线等combobox 读不出来值!急急急 关于firefox的几个小问题 请问一个,我使用webservies能使用事务吗? 一个PDA终端项目需求开发合作(急) C#调试加入断点,为什么不停住 求助:C# menustrip 的backcolor无法回到初始状态 统计一下,WEB开发用C#还是VB? 请问如何用c#实现net send功能?送分啦
client.BaseAddress = "http://www.microsoft.com";
FileStream fs = File.Create("c:\\index.html");
fs.Close();
client.DownloadFile("index.html","c:\\index.html");