How can I use plinq to fill an array with strings returned from my "FormatStatus" Method?
This is my first time playing around with linq and I can't quite figure out what I need to search on google to find out what I am doing wrong, so here I am.
Here is what I have so far:var formattedStatuses =
(from status in _statusCollection
select FormatStatus(s开发者_如何学运维tatus)).AsParallel();
var formattedStatus = from status in _statusCollection.AsParallel()
select FormatStatus(status);
精彩评论