Files and Paths Management

Learn about managing files and handling file paths.

Managing files

When working with files, we could statically import the file type, just as we did for the directory type, but, for the next example, we will not because it has some of the same methods as the directory type and they would conflict. The file type has a short enough name not to matter in this case. The steps are as follows:

Step 1: In Program.cs, write statements to do ...