该接受的答案质疑"为什么这个Parallel.ForEach代码冻结程序吗?" 建议在WPF应用程序中用ConcurrentBag替换List使用.
我想了解是否可以在这种情况下使用BlockingCollection?
c# linq wpf multithreading task-parallel-library
c# ×1
linq ×1
multithreading ×1
task-parallel-library ×1
wpf ×1