3

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#?

Sam
  • 123
  • 1
  • 9

2 Answers2

0

This might be helpful. It's written in a C# and some other languages and it's open source. You also have a demo section that you can use to see if it's useful to your purpose.

sebi
  • 1,791
  • 3
  • 25
  • 43
0

Refer to the diff.c in Linux source code for the diff algorithm.

Or have a look at this post

Community
  • 1
  • 1
Steven You
  • 439
  • 5
  • 13