private void CreateHtml(string sPath, string txt)
{
string currPath = @"C:\MyCodeHelper" + sPath;
FileInfo fi = new FileInfo(currPath);
var di = fi.Directory;
if (!di.Exists)
di.Create(); using (StreamWriter s = File.CreateText(currPath))
{
s.Write(txt);
}
}

  

最新文章

  1. 基于redis分布式缓存实现(新浪微博案例)
  2. mongodb 数据库操作--备份 还原 导出 导入
  3. 20套新鲜出炉的免费 PSD 格式的图标《免费下载》
  4. Floyd算法核心代码证明
  5. Codeforces Round #335 (Div. 2) B. Testing Robots 水题
  6. Fisher's exact test( 费希尔精确检验)
  7. 二叉搜索树算法详解与Java实现
  8. 重置mysql密码
  9. Swift 2.0初探:值得注意的新特性
  10. windows下自动删除n天前的文件
  11. MFC设置窗体大小SetWindowPos
  12. 深度学习开发环境搭建教程(Mac篇)
  13. IS-IS完整笔记
  14. oracle数据库语句积累
  15. Spring的AOP基于AspectJ的注解方式开发2
  16. linux driver ------ platform模型,驱动开发分析
  17. JavaScript学习-3——数组、函数、递归
  18. Echo团队Alpha冲刺随笔 - 第四天
  19. vue 添加子路由,并对路由重定向
  20. Tensorflow动态seq2seq使用总结(r1.3)

热门文章

  1. iOS UI基础 - 20 UITextField
  2. cocos JS 定时器
  3. 例子:动能并不是特别强(2-3)后,下M5的同时,也是恢复期到期的前一天
  4. node.js初识07
  5. webpack使用七
  6. 使用sqoop往hdfs中导入数据供hive使用
  7. Tomcat 9 和tomcat 8区别以及 tomcat9 新特性
  8. clientWidth,offsetWidth,scrollWidth区别
  9. SQL query - check latest 3 days failed job.
  10. EasyUI表格DataGrid前端分页和后端分页的总结