<p>I need to implement a Diff algorithm in VB.NET to find the changes between two different versions of a piece of text.  I've had a scout around the web and have found a couple of different algorithms.</p>

<p>Does anybody here know of a 'best' algorithm that I could implement?</p>

[{'answer_id': 3146, 'author': 'Calanus', 'author_id': 445, 'author_profile': 'https://Stackoverflow.com/users/445', 'pm_score': 4, 'selected': True, 'text': '<p>Well I\'ve used the c# version on codeproject and its really good for what I wanted...</p>\n\n<p><a href="http://www.codeproject.com/KB/recipes/diffengine.aspx" rel="noreferrer">http://www.codeproject.com/KB/recipes/diffengine.aspx</a></p>\n\n<p>You can probably get this translated into VB.net via an <a href="http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx" rel="noreferrer">online converter</a> if you can\'t do it yourself...</p>\n'}, {'answer_id': 3149, 'author': 'Paul', 'author_id': 391, 'author_profile': 'https://Stackoverflow.com/users/391', 'pm_score': 2, 'selected': False, 'text': '<p>I don\'t know for sure if it\'s the best diff algorithms but you might want to check out those links that talks about SOCT4 and SOCT6</p>\n\n<p><a href="http://dev.libresource.org/home/doc/so6-user-manual/concepts" rel="nofollow noreferrer">http://dev.libresource.org/home/doc/so6-user-manual/concepts</a></p>\n\n<p>and also:<br>\n<a href="http://www.loria.fr/~molli/pmwiki/uploads/Main/so6group03.pdf" rel="nofollow noreferrer">http://www.loria.fr/~molli/pmwiki/uploads/Main/so6group03.pdf</a>\n<a href="http://www.loria.fr/~molli/pmwiki/uploads/Main/diffalgo.pdf" rel="nofollow noreferrer">http://www.loria.fr/~molli/pmwiki/uploads/Main/diffalgo.pdf</a></p>\n'}, {'answer_id': 3151, 'author': 'Christian Lescuyer', 'author_id': 341, 'author_profile': 'https://Stackoverflow.com/users/341', 'pm_score': 3, 'selected': False, 'text': '<p>I like <a href="http://www.xmailserver.org/diff2.pdf" rel="noreferrer">An O(ND) Difference Algorithm and Its Variations</a> by Eugene Myers. I believe it\'s the algorithm that was used in GNU diff. For a good background see <a href="http://en.wikipedia.org/wiki/Diff" rel="noreferrer">Wikipedia</a>. </p>\n\n<p>This is quite theoretical and you might wish to find source code, but I\'m not aware of any in VB.</p>\n'}]
['https://Stackoverflow.com/questions/3144', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/475/']