Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
0
Reply
tpl, tack parallel library, thread
Orhan SALUR
Jun 17 2015 1:21 AM
451
Reply
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();
}
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
How To Make Setup File In C# Windows Application With DataBS
If Condition for Both Integer and float