Intermediate
C#
Q80 / 100
What are channels in .NET System.Threading.Channels?
Correct! Well done.
Incorrect.
The correct answer is B) A high-performance, async producer-consumer channel for safely passing data between tasks
B
Correct Answer
A high-performance, async producer-consumer channel for safely passing data between tasks
Explanation
Channel<T>.CreateBounded(100) creates a bounded async queue. await writer.WriteAsync(item) and await reader.ReadAsync() are async producer/consumer operations.
Progress
80/100