I would like to use a C# .NET diff/comparison library for text files (C++ to be more precise, but it should not matter).
I have found a lot of libraries in the topic but what I need is a something that is part of the .NET library or it comes from Microsoft. The reason of this restriction is that I do not have to go over our company's long open source tool approval process.
Does C# .NET has such feature?
An example for the usage: I have two slightly different .cpp
files. I have to create one .cpp
file which will have a #ifdef
according to the differences of the two files and we can use one file at two places controlled by a predecessor definition.