Description: C# file streams to read and write the contents of the TXT file, the FSO file operations source implementation process, first introduced using System.Linq using System.IO naming the space, create a class, to use the File.Exists judgment to read and write the file exists, then use the StreamWriter to read the contents of the file, and then StreamReader display the contents of a file, while adding Exception exception handling.
To Search:
File list (Check if you may need any files):
AboutStreamReader\AboutStreamReader.csproj
.................\bin\Debug\Test.txt
.................\Program.cs
.................\...perties\AssemblyInfo.cs
AboutStreamReader.sln
AboutStreamReader.suo
复件 AboutStreamReader.suo
AboutStreamReader\bin\Debug
.................\bin
.................\Properties
.................\obj
AboutStreamReader