In this section, we will go through the helper classes that allow us to do operations on the files present in a directory. C# provides the File and FileInfo helper classes to do operations on files. While going through the following code snippets, we will be looking at some of the typical operations that we can do with file objects.