Introduction - If you have any usage issues, please Google them yourself
Introduced using System.IO need to use FileInfo class. FileInfo class is used to provide create, copy, delete, move, and open the file instance methods, and help create a FileStream object. Get the file name, file size, to get the current FileSystemInfo object creation time, write time, access time.