what is object lock?
Answer / divikiran
The lock keyword marks a statement block as a critical section by obtaining the mutual-exclusion lock for a given object, executing a statement, and then releasing the lock. This statement takes the following form:
Object thisLock = new Object();
lock (thisLock)
{
// Critical code section
}
| Is This Answer Correct ? | 1 Yes | 0 No |
what are the controls used to upload a file from client to server?
Tell us what is a sealed class?
What is .net code security?
Describe the Managed Execution Process
How to get the hostname or IP address of the server?
Compare client server application with n-tier application
What does jit compilation do in .net?
Explain about the Common Language Runtime?
What is use of ContextUtil class?
why you wouldn't want to write into it even if you could
Please explain what is reflection and what is it for?
What?s a Windows process?