<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: File Comparison in C# – Part 3</title>
	<atom:link href="http://www.daveoncsharp.com/2009/07/file-comparison-in-csharp-part-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.daveoncsharp.com/2009/07/file-comparison-in-csharp-part-3/</link>
	<description>C# Programming Tutorials</description>
	<lastBuildDate>Fri, 03 Sep 2010 10:48:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Dave</title>
		<link>http://www.daveoncsharp.com/2009/07/file-comparison-in-csharp-part-3/comment-page-1/#comment-45</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 19 Aug 2009 08:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.daveoncsharp.com/?p=571#comment-45</guid>
		<description>Thanks for your comment Pankaj. To count differences within a file can become quite complex if you want to do it properly, and as far as I know .NET does not have anything built in to do this. 

In my opinion, what you need is a &lt;strong&gt;Difference&lt;/strong&gt; (or &lt;strong&gt;Diff&lt;/strong&gt;) &lt;strong&gt;algorithm&lt;/strong&gt;. Do a Google search for &lt;em&gt;&#039;diff algorithm&#039;&lt;/em&gt; and you should find plenty of examples and free classes you can use in your code. :)</description>
		<content:encoded><![CDATA[<p>Thanks for your comment Pankaj. To count differences within a file can become quite complex if you want to do it properly, and as far as I know .NET does not have anything built in to do this. </p>
<p>In my opinion, what you need is a <strong>Difference</strong> (or <strong>Diff</strong>) <strong>algorithm</strong>. Do a Google search for <em>&#8216;diff algorithm&#8217;</em> and you should find plenty of examples and free classes you can use in your code. <img src='http://www.daveoncsharp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pankaj</title>
		<link>http://www.daveoncsharp.com/2009/07/file-comparison-in-csharp-part-3/comment-page-1/#comment-44</link>
		<dc:creator>Pankaj</dc:creator>
		<pubDate>Wed, 19 Aug 2009 04:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.daveoncsharp.com/?p=571#comment-44</guid>
		<description>Great article for beginners.However I have a doubt, if you have to count the number of differences between two files what will you do?</description>
		<content:encoded><![CDATA[<p>Great article for beginners.However I have a doubt, if you have to count the number of differences between two files what will you do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.daveoncsharp.com/2009/07/file-comparison-in-csharp-part-3/comment-page-1/#comment-27</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 20 Jul 2009 20:46:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.daveoncsharp.com/?p=571#comment-27</guid>
		<description>Thanks for your comment Robert. I absolutely agree that hashing is the best way to compare files.</description>
		<content:encoded><![CDATA[<p>Thanks for your comment Robert. I absolutely agree that hashing is the best way to compare files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Glaab</title>
		<link>http://www.daveoncsharp.com/2009/07/file-comparison-in-csharp-part-3/comment-page-1/#comment-26</link>
		<dc:creator>Robert Glaab</dc:creator>
		<pubDate>Mon, 20 Jul 2009 20:20:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.daveoncsharp.com/?p=571#comment-26</guid>
		<description>Awesome article, and very informative. Using the created or last modified date properties of the FileInfo class tend to be inaccurate, and file sizes can still be equivalent when a single ascii character changes value, so hashing in my opinion is by far the best way to compare files for equality.</description>
		<content:encoded><![CDATA[<p>Awesome article, and very informative. Using the created or last modified date properties of the FileInfo class tend to be inaccurate, and file sizes can still be equivalent when a single ascii character changes value, so hashing in my opinion is by far the best way to compare files for equality.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
