Posts tagged as:

Comparison

In this article I am going to show you how to monitor a folder for changes. A reason why you might want to do this is for example if you want to keep two files in different locations in sync. When the original file is changed it would trigger an event and you can update [...]

{ 0 comments }

In this third and final article of my File Comparison in C# series we will be creating a method which compares file hashes. I suggest you read File Comparison in C# – Part 1, and File Comparison in C# – Part 2 before continuing with this article, if you haven’t already done so.
What is a [...]

{ 4 comments }

In my previous article – File Comparison in C# – Part 1 – I showed you how to create a simple method which compares the file size of two files using the System.IO.FileInfo class. In this article, we will be building upon that previous article so I suggest you read it here before continuing.
Now we [...]

{ 1 comment }

As a developer you might need to compare files for equality, maybe because you want to verify that your backups are valid, or maybe because you want to search for duplicate files in a folder. Either way you will need to compare two files together, and I am going to show you how.
There are a [...]

{ 2 comments }