受欢迎的博客标签

多核CPU并行编程:.How to:Write a simple System.Linq.ParallelQuery

Published

在用的时候只需要将它原本的类型转换成ParallelQuery<TSource>类型就行了.

var items = from item in orders.AsParallel() where item.OName.Contains("1") select item;