What's the Difference between Channel and ConcurrentQueue in C#?

added by DotNetKicks
2/10/2021 6:14:03 PM

766 Views

In response to the previous article ( Introduction to Channels in C#), I've received several questions from folks who have been using ConcurrentQueue (or another type from Collections.Concurrent). These questions boil down to: What's the difference between Channel and ConcurrentQueue ? Short answer: Specialization and optimization.


0 comments