Compare two files or more using C#. .NET SDK allows comparing two Excel spreadsheets, Word documents, PDF files or compare text files in CSharp....Compare two files or more using C#. .NET SDK allows comparing two Excel spreadsheets, Word documents, PDF files or compare text files in CSharp.