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#?
これは役立つかもしれません。これはC#およびその他のいくつかの言語で記述されており、オープンソースです。また、目的に役立つかどうかを確認するために使用できるデモセクションもあります。
差分アルゴリズムについては、Linux ソース コードの diff.c を参照してください。
または、この投稿をご覧ください