File is a very crude term representing a collection of data stored on a disk at a particular directory path. While writing C# applications, there are several occasions when we will need to use file objects:
- To store data in an application or pass it across to another application
- To access configuration settings that are necessary for application execution
- To access files that are present in a directory path
These operations are called I/O operations. C# provides a namespace, System.IO, that has some helper classes. These helper classes help us execute I/O operations on file objects. In this section, we will look at those helper classes in C#.