会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
与时俱进
博客园
首页
新随笔
联系
订阅
管理
2012年11月8日
删除指定目录及其子目录和文件
摘要: private void deletefile(System.IO.DirectoryInfo path) { foreach(System.IO.DirectoryInfo d in path.GetDirectories()) { deletefile(d); } foreach(System.IO.FileInfo f in path.GetFiles()) { f.Delete(); } }
阅读全文
posted @ 2012-11-08 12:05 与时俱进
阅读(578)
评论(0)
推荐(0)
编辑
公告
友情链接:
同里老宅院民居客栈