Beginner
C#
Q32 / 100
What is the difference between Task and Thread in C#?
Correct! Well done.
Incorrect.
The correct answer is B) Thread is a lower-level OS thread; Task is a higher-level abstraction over the thread pool supporting async/await
B
Correct Answer
Thread is a lower-level OS thread; Task is a higher-level abstraction over the thread pool supporting async/await
Explanation
Task is part of the TPL and works with async/await. Thread gives direct control but is heavier. Prefer Task for most async scenarios.
Progress
32/100