| 类别: |
CSharp.Net, function, 文件操作
|
| 标签: |
c#, WriteTextFile, StreamWriter
|
| 摘要: |
...
|
| 正文: |
- private void WriteTextFile(string fileName, string content)
- {
- using(StreamWriter sw = new StreamWriter(fileName))
- {
- sw.Write(content);
- }
- } // end private void WriteTextFile
|
| 文章相关信息: |
|
| 主题: |
c# 创建 文本文件并写入 内容 函数 WriteTextFile
|
| 发表者: |
shawl.qiu
|
| 电子邮件: |
shawl.qiu@gmail.com
|
| QQ: |
908202921
|
| MSN: |
btbtd@msn.com
|
| Homepage: |
http://www.btbtd.org/
|
| Blog: |
http://blog.csdn.net/btbtd/
|
| 发表日期: |
2007-2-25 0:21:08
|
| 更新日期: |
2007-2-25 0:21:08
|
| 来源引用: |
shawl.qiu CSharp DotNet 个人资料管理系统
|
| 引用本页: |
http://gi.2288.org/mod/code/display/Default.aspx?aid=294
|