Create a console application that displays the top 10 most recently downloaded files in your Downloads
directory.
TIP You may find these classes/methods helpful
Modify your program to optionally accept a directory path as a command line argument. Display the top 10 more recent files in that given directory. Use a -d
command line flag to specify the directory name.
An example of running your program would look like
dotnet run -d /Users/my-username
Modify your program to optionally accept the number of files to display. Use a -n
command line flag.
An example of running your program would look like
dotnet run -d /Users/my-username -n 20
Modify your program to show the following info about the recent files it displays.
- Name
- Last Access Datatime
- File Size