Learn how to work with .NET System.IO classes for accessing the underlying file system within your C# application. Discover how to work with folders and files, organize file access logic, and protect the file system.
- [Instructor] Hello, my name is Jesse Freeman, and in C# File System Tips and Tricks, we're going to learn how to work with .NET System.IO classes for accessing the file system. We'll start this project by learning how to use the Directory class to make, delete, and move folders. Next, we'll go over how to create, read, and write to files as well as how to edit, copy, and move them. And finally, we'll abstract out our file system API calls into a single class to better control how our application interacts with the underlying file system.
I hope you enjoy this course as much as I did making it. Now, let's get started.
- Creating a simple command line app
- Creating a new folder
- Creating multiple folders
- Deleting and copying folders
- Cleaning up folder logic
- Creating a config file
- Copying, editing, and moving a config file
- Saving images
- Organizing file access logic
- Protecting the file system