How to compare the text in two files using c#?

  • Thread starter Thread starter SVT Gdwl
  • Start date Start date
S

SVT Gdwl

Guest
Consider that there are two files named file1.txt and file2.txt.
file1.txt consists 50lines
file2.txt consists 50lines

Now I want to compare the text of two files taht to line by line,
I mean How can I compare 1st line of file1.txt with 1st line of file2.txt
similarly 2nd line of file1.txt with 2nd line of file2.txt, etc., till the last lineSVT Gdwl

Continue reading...
 
Back
Top