文件流操作.docVIP

  • 3
  • 0
  • 约8.81千字
  • 约 5页
  • 2018-07-01 发布于河南
  • 举报
文件流操作

using System; using System.Collections.Generic; using System.Text; using System.IO; namespace ReadFile { class Program { static void Main(string[] args) { #region StreamWriter写入01 //using (StreamWriter sw = new StreamWriter(../../TestFile.txt)) //{ // // Add some text to the file. // sw.Write(This is the ); // sw.WriteLine(header for the file.); // sw.WriteLine(-------------------); // // Arbitrary objects can also be written to the file. // sw.W

文档评论(0)

1亿VIP精品文档

相关文档