Task vs Thread differences [duplicate]

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 over Task (and vice-versa)?

3 Answers
3

Leave a Comment