创建文本文件

时间:2014-05-01 12:01:44   收藏:0   阅读:278

StreamWriter SW;
SW = File.CreateText(@"C:\Documents and Settings\Administrator\桌面\MyTextFile.txt");
SW.WriteLine("File Created SucacessFully");
SW.Close();

创建文本文件,码迷,mamicode.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!