0
Answer

tpl, tack parallel library, thread

Orhan SALUR

Orhan SALUR

9y
480
1
hello, how can i coding with tpl? thanks... 
class Program
{
static void print(object o)
{
for (int i = 0; i < 5; i++)
Console.WriteLine(o + " " + i + "");
}
static void Main(string[] args)
{
Thread th1 = new Thread(print);
Thread th2 = new Thread(print);
th1.Start();
th2.Start();
th1.Join();
th2.Join();
Console.Read();
}
}