Note: I am asking this question because I see that I need to import many libraries to work with different files which will increase the size of the applications. And time consuming to shift between libraries in run time because random files are processed every time. I just want the text in the files.
Hi, Recently I started working on a project that needs to read different types of files like txt, pdf, word, excel and many more.
I am reading
Excel - using Microsoft excel interop
Pdf - using ITextSharp
txt - using Stream based classes.
My question is is can i read all these files using Stream based classes because they convert all files data to bytes?
Or I can read only text files using stream classes because text files will have only pure text and not images unlike other file types like pdf?