Compare folders to content

Please tell me which libraries or namespaces to use for comparison.
Suppose I have two folders of approximately the same content, but in one there is one file that is in the second, and in the other there is also no file that is in the first …

This will provide you what you need.

It creates two datatables which hold the filenames of each respective folder you are comparing.

It then compares the two and flags those which have the same name.

Main.xaml (15.6 KB)