Intermediate
C#
Q78 / 100
What is the IProgress<T> interface?
Correct! Well done.
Incorrect.
The correct answer is B) A standard way to report progress from a long-running operation back to the calling context (typically UI thread)
B
Correct Answer
A standard way to report progress from a long-running operation back to the calling context (typically UI thread)
Explanation
void Process(IProgress<int> progress) { progress.Report(50); } and new Progress<int>(pct => UpdateUI(pct)) in the caller.
Progress
78/100