C# Thread vs Task | SoloLearn: Learn to code for FREE!

+3

C# Thread vs Task

How would you describe each and what scenario is each best for.

6/6/2018 3:43:21 AM

🤖Khrys🤗

3 Answers

New Answer

+3

This may help, https://www.c-sharpcorner.com/blogs/task-vs-thread-differences-in-c-sharp1

+1

That's great, thanks!

0

In computer science, a Task is a future or a promise. A Thread is a way of fulfilling that promise. You can use Task to specify what you want to do then attach that Task with a Thread. In .NET 4.0 terms, a Task represents an asynchronous operation . Thread(s) are used to complete that operation by breaking the work up into chunks and assigning to separate threads . http://csharp.net-informations.com/language/task.htm