interviews.dotnetthread.com

↑ Grab this Headline Animator

Friday, May 9, 2008

What is lock statement in C#?

Lock ensures that one thread does not enter a critical section of code while another thread is in the critical section. If another thread attempts to enter a locked code, it will wait, block, until the object is released.

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.

 

Latest Articles