Parallel for-each loops in .NET C# z
2020-12-13 06:11
标签:style blog class c code java Parallel for-each loops in .NET C# z,搜素材,soscw.com Parallel for-each loops in .NET C# z 标签:style blog class c code java 原文地址:http://www.cnblogs.com/zeroone/p/3744048.html
Liststring> dataList = new Liststring>
{
"this", "is", "random", "sentence", "hello", "goodbye"
};
Parallel.ForEach(dataList, item =>
{
Console.WriteLine("Item {0} has {1} characters",
item, item.Length);
});
文章标题:Parallel for-each loops in .NET C# z
文章链接:http://soscw.com/essay/32668.html