This is from MSDN: The lock keyword ensures that one thread does not enter a critical section of code while another thread is in the critical sectio
No it means that another thread wont enter THE critical section protected by this lock statement.
The Critical section is only defined by the programmer, and in this case, you could replace it by : the section protected by a lock
So translation :
The lock
keyword ensures that one thread does not enter a section of code protected by a lock
while another thread is in this section of code (protected by a lock
)