Skip to content

Commit 7e10ac3

Browse files
authored
Fix grammar (#43008)
Fixes anonymous feedback issue.
1 parent 711d134 commit 7e10ac3

File tree

1 file changed

+1
-1
lines changed
  • docs/csharp/language-reference/statements

1 file changed

+1
-1
lines changed

docs/csharp/language-reference/statements/lock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ helpviewer_keywords:
1010
---
1111
# The lock statement - ensure exclusive access to a shared resource
1212

13-
The `lock` statement acquires the mutual-exclusion lock for a given object, executes a statement block, and then releases the lock. While a lock is held, the thread that holds the lock can again acquire and release the lock. Any other thread is blocked from acquiring the lock and waits until the lock is released. The `lock` statement ensures that at maximum only one thread executes its body at any time moment.
13+
The `lock` statement acquires the mutual-exclusion lock for a given object, executes a statement block, and then releases the lock. While a lock is held, the thread that holds the lock can again acquire and release the lock. Any other thread is blocked from acquiring the lock and waits until the lock is released. The `lock` statement ensures that at maximum only one thread executes its body at any moment in time.
1414

1515
The `lock` statement takes the following form:
1616

0 commit comments

Comments
 (0)