C# Downloader: should I use Threads, BackgroundWorker or ThreadPool?

后端 未结 4 1185
遥遥无期
遥遥无期 2020-12-05 12:34

I\'m writing a downloader in C# and stopped at the following problem: what kind of method should I use to parallelize my downloads and update my GUI?

In my first att

4条回答
  •  孤城傲影
    2020-12-05 13:16

    I think you should look into using the Task Parallel Library, which is new in .NET 4 and is designed for solving these types of problems

提交回复
热议问题