I got to compare the contents of 2 files programatically. Is there any direct
or indirect .Net API to this task?
If there is no .Net API available, which is the best way to do..? Any
pointers will be of great help to me.
Thanks
Venkat
>I got to compare the contents of 2 files programatically. Is there any direct
>or indirect .Net API to this task?
Direct: No.
Indirect: The file APIs in the System.IO namespace.
>If there is no .Net API available, which is the best way to do..?
Open both files. Compare on whatever way you find suitable (byte by
byte or (text) line by line for example).
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.