5: Microsoft Tutorialノート
pulished:
updated:
Work with files and directories in a .NET app
Build an app that manipulates files and directories with C# and .NET.
Learning objectives
By the end of this module, you will be able to:
- Work with directories.
- Create and delete files.
- Read from files.
- Write to files.
- Parse data in files.
Work with the file system
.NET contains built-in types for working with the file system that you can find in the System.IO
namespace.
Here, you’ll learn about the types available in System.IO
by using C# to read a file system to discover files and directories.