[Solved] use Task parallel library for I/O bound processing


You do not parallel I/O bound processes.

The reason is simple: because CPU is not the bottleneck. No matter you start how many threads, You only have ONE disk to write to, and that is the slowest thing.

So what you need to is to simply iterate every file and write them. You can start a seperate working thread doing this work, or using async I/O to get a better UI response.

solved use Task parallel library for I/O bound processing