摘要:
前阶段遇见复制文件夹问题,一时想到要用递归,总结如下:复制文件夹 1 static void Main(string[] args) 2 { 3 CopyDirectroy(@"c:\Dell", @"d:\Dell"); 4 } 5 static void CopyDirectroy(string sourePath, string targetPath) 6 { 7 DirectoryInfo sourceDir = new DirectoryInfo(sourePath);//... 阅读全文
posted @ 2012-08-05 23:11
梦里故乡
阅读(240)
评论(0)
推荐(0)

浙公网安备 33010602011771号