Intermediate C#
Q56 / 100

What does ConfigureAwait(false) do?

Correct! Well done.

Incorrect.

The correct answer is B) Resumes the continuation on any thread pool thread rather than capturing and returning to the original synchronization context

B

Correct Answer

Resumes the continuation on any thread pool thread rather than capturing and returning to the original synchronization context

Explanation

Without ConfigureAwait(false), await tries to resume on the original context (e.g., UI thread). Library code should use ConfigureAwait(false) to avoid deadlocks.

Progress
56/100