Intermediate C#
Q73 / 100

What is the purpose of IAsyncEnumerable<T>?

Correct! Well done.

Incorrect.

The correct answer is B) An interface for asynchronous streams — data produced and consumed asynchronously using await foreach

B

Correct Answer

An interface for asynchronous streams — data produced and consumed asynchronously using await foreach

Explanation

await foreach (var item in GetDataAsync()) processes items as they become available without buffering all results. Useful for database cursors, API pagination.

Progress
73/100