There is a problem: at the entrance one or more EXCEL files. I convert all the cells into text and simply write everything into a new text file, which I also create programmatically.
There is a single-line version of this application: a console application with the NPOI library for working with Excel files. The problem is that when a program processes many, many files, it works for a very long time. Therefore, I want to speed it up and make a multi-threaded version. Tell me how best to implement multithreading.
Before that, I have never encountered multithreading. When I started searching for possible solutions to my problem, I found PLINQ and Parallel.ForEach. Tell me what is best to use.