Compare two files or more using C#. .NET SDK allows comparing two Excel spreadsheets, Word documents, PDF files or compare text files in CSharp....multiple documents with your customized comparison settings. CompareOptions...your comparison options like font styling for detected changes...