Is there a way to use the .Net 4.0 System.Threading.Tasks class in .Net 3.5 or .Net3.0 versions?

I understand that .Net 4.0 provides a better approach to multi-threading with tasks. Is there a way that you can do the same approach in .Net 3.5 or .Net 3.0.

Thanks Priya.R

+3
source share
3 answers

I believe that Reactive Extensions for .NET (Rx) contain some of the bits of the .NET 4.0 concurrency.

So, this may be worth a look: http://msdn.microsoft.com/en-us/devlabs/ee794896.aspx

Check System.Threading.dll

+3
source

No, if you want to use System.Threading.Tasks, you will need to upgrade to .NET 4.0

0
source

.NET 3.5, downloded rx 3.5 System.Threading.dll .

now you can use the directive using System.Threading.Tasks ;

Hope this can help you ...

0
source

Source: https://habr.com/ru/post/1743461/


All Articles