I have two txt documents and need to find out how different they are.
What is the best algorithm for calculating the percentage difference between two text files in C #?
Refer to the diff.c source code on Linux for the diff algorithm.
Or check out this post
This may be helpful. It is written in C # and some other languages, as well as open source. You also have a demo section that you can use to find out if it is useful for your purpose.