# File, FileInfo and Path

File and Directory check for, create, list, copy and delete files and folders. FileInfo describes one file. Path builds paths with Path.Combine and takes them apart, without touching the disk.

![Cheat sheet: File, FileInfo and Path](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/906a2e6757924504bf6f0e0be0e70ff2.webp)

- Category: C#
- Level: Apprentice
- Tags: c-sharp, File (c-sharp)
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/working-with-files-in-csharp-file-fileinfo-and-path-cheat-sheet
