摘要: 学习资料http://msdn.microsoft.com/zh-cn/library/vstudio/dd537608(v=vs.100).aspx数据并行是指对源集合或数组中的元素同时(即并行)执行相同操作的情况。简单的并行for循环 Parallel.For(0, length, i =>{ //do something about i});并行foreach循环 // Method signature: Parallel.ForEach(IEnumerable source, Action body) Parallel.ForE... 阅读全文
posted @ 2014-01-13 16:46 sherlock99 阅读(295) 评论(0) 推荐(0) 编辑