locked
compare two text documents using c#.net RRS feed

  • Question

  • Hi all,

    I am trying to solve the problem :

    i have one text document which in text format and i have one more text document which also in text document so these two files are almost all similar but there is a small variance.

    so what my problem is i am trying to read the words which is not similar in each other files and those words put it into a log file.
    i am using  c#.net for windows application.

    So could any please any one help me how can i solve it.

    Tanks,

    Ramakrishna.

    Wednesday, September 13, 2006 10:30 AM

Answers

  • This is of topic for XML and the .NET Forum.

    Read both files with TextReader line by line or word by word and compare strings.

    Wednesday, September 13, 2006 5:34 PM