Wednesday, December 8, 2010

Parallel Programming with dot net

http://msdn.microsoft.com/en-us/library/ff963553.aspx

Example.
using System.Threading.Tasks;
int n=5;
Parallel.For(0, n, i => {
MessageBox.Show(i.ToString());
});

No comments:

Post a Comment