Working With The File System in C# - Managing Folders and Files

Working With The File System in C# - Managing Folders and Files

181.704 Lượt nghe
Working With The File System in C# - Managing Folders and Files
Full courses: https://www.iamtimcorey.com/ Blog Post*: https://www.iamtimcorey.com/blog/20754/folders-and-files-in-csharp Patreon: https://patreon.com/IAmTimCorey Newsletter signup: https://signup.iamtimcorey.com/ (*) source code download is no longer available. C# can be a really powerful tool for working with the file system. It can automate file tasks including backup creation, organizing files, monitoring file info, and more. In this video, we are going to get started working with files and directories. 0:00 - Intro 0:42 - creating a demo console application 3:15 - reading all directories in the path specified 7:29 - reading all files in the path specified (directories included) 9:43 - reading all files (directories excluded), omitting file extensions, getting file path only 12:09 - information about the file 15:10 - automation with c# - manipulating file systems and files. 16:21 - verify if directory exists 18:42 - creating a new directory 21:34 - copying files 28:28 - moving files 29:40 - utilize - create your own utility apps