Skip to content

Commit 698889f

Browse files
authored
Update WaitHandle.cs (#8970)
1 parent 8a62261 commit 698889f

File tree

1 file changed

+2
-2
lines changed
  • snippets/csharp/System.Threading/WaitHandle/Overview

1 file changed

+2
-2
lines changed

snippets/csharp/System.Threading/WaitHandle/Overview/WaitHandle.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static void Main()
3030
(DateTime.Now - dt).TotalMilliseconds);
3131

3232
// Queue up two tasks on two different threads;
33-
// wait until any tasks are completed.
33+
// wait until any task is completed.
3434
dt = DateTime.Now;
3535
Console.WriteLine();
3636
Console.WriteLine("The main thread is waiting for either task to complete.");
@@ -64,4 +64,4 @@ static void DoTask(Object state)
6464
// Performing a task for 2000 milliseconds.
6565
// Performing a task for 2000 milliseconds.
6666
// Task 1 finished first (time waited=2000.6528).
67-
//</snippet1>
67+
//</snippet1>

0 commit comments

Comments
 (0)