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 |
Explain me why do we use msmq?
. How .NET can support multiple languages?
How to create properties and methods using controls?
Explain why do we use msmq?
what is AGILE SCRUM methodoly....?
Where?s Windows service database located?
What is immutability?
What is IIS and how we deploy website on IIS.
What is machine.config in .net?
What is the difference between .net and laravel?
why .net does not support multiple inheritance?
what is the meaning silverligt control