C# Files

Working With Files

The File class from the
System.IO
namespace, allows us to work with files:

Example

using System.IO;  // include the System.IO namespace

File.SomeFileMethod();  // use the file class with methods

The File class has many useful methods for creating and getting information about files. For example: Continue reading C# Files