Skip to content

Commit 3f8411f

Browse files
committed
Finish First Sample Threads
1 parent e3b09e4 commit 3f8411f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: Threads/Threads/Threads/Program.cs

+3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ static void Main(string[] args)
1313
{
1414
var work1 = new Work1();
1515
var work2 = new Work2();
16+
1617
var thread1 = new Thread(() => work1.DoWork());
1718
thread1.Start();
19+
1820
var thread2 = new Thread(() => work2.DoWork());
1921
thread2.Start();
22+
2023
Console.ReadKey();
2124
}
2225
}

0 commit comments

Comments
 (0)