Question:
compare the contents of two files using C#. Help me plz?
anonymous
2007-02-06 16:03:48 UTC
i have to compare two files to see if they have same content or not. I have to do this using C#. I can do this by reading string by string from each file, but its going to be tedious and slows down the performance of my application if the files are large. Is there any class in C# that helps in comparing two files. This has to work for image files also. Can any one help me plz?
Three answers:
Chad J
2007-02-06 16:15:59 UTC
File-Comparison function in C# :)
anonymous
2016-11-03 06:13:07 UTC
Compare Contents Of Two Files
?
2016-12-17 09:03:54 UTC
Many record application classes use checksum to evaluate contents. you'll be able to look at that. A observe of warning. You reproduction archives as byte streams to maintain characteristics including .pdf, .record, jpg etc. If the language you will use has FileWriter, be careful and run test first.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...