I’m new to parallel programming. There are two classes available in .NET: Task
and Thread
.
So, my questions are:
- What is the difference between those classes?
- When is it better to use
Thread
overTask
(and vice-versa)?
I’m new to parallel programming. There are two classes available in .NET: Task
and Thread
.
So, my questions are:
Thread
over Task
(and vice-versa)?