Diff : File Comparer (Version 1)

I was interested in building a program to DIFF files similar to BeyondCompare, WinMerge, diff app inside Tortoise & other subversion utilities. So, I came up with the following simple application which takes in 2 folders and performs a recursive Diff throughout and lists the files which are content-wise different or not present in either of the folders. Environment used is Visual Studio 2010 (.NET Framework 3.5).

Basic premise is that the content of two files would be same if their hash values are exactly equal.

Source File: Program.cs App.config
(Replace the “.cs_.txt” extension to “.cs” before using the file)
Feel free to modify the source code and if any bugs are found, please do comment back to the post as it will be helpful to others.

leave your comment