开发者

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);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜