Lesson 9 – File Handling

Find the Course here.


Introduction: After many years of neglecting his documentation your good developer friend asks for your help to organize his files and documents.


What you will learn:

  • Primarily:
    • The .NET classes Path and Directory
    • File activities
  • Secondarily:
    • Dictionaries

Client Name: Your developer friend


Process Name: FileSorting


Description: Manually, load the sample files into a folder on your pc. Then:

  • Create a folder for each file type.
  • Move the files to their corresponding folder.
  • All zip-files must be unzipped and deleted before folder creation and file sorting.
  • Log how many files of each type has been moved.

Leave a Reply