What should I do to use Task in .NET 2.0?

前端 未结 2 818
长情又很酷
长情又很酷 2020-12-09 10:09

.NET 4.0 has the TPL which contains the nice Task class to encapsulate aynchronous programming models. I\'m working on an app that must be .NET 2.0, but I want to avoid rew

2条回答
  •  心在旅途
    2020-12-09 10:52

    You will have to use System.Threading.Thread class, you can get the Task class for .net 3.5 but not for .net 2.

    Sorry

提交回复
热议问题