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 how do assemblies find each other?
I was working for software company frm 2005 to 2009. I left job due to recession.I was jobless till dec 09 then i got job in bpo and i am not knowing what to do as my professional experience is with software.give me any suggestion.
Difference between assembly manifest & metadata assembly manifest
Explain how does assembly versioning work?
Write code for fetch record nos 15 to 25 from a dataset containing 50 records?
what is machine key error in .NET how can we solve it?
What are the different parts of an Assembly in .Net?
What is immutability?
How to create a key pair in .net?
When displaying fonts, what is the difference between pixels, points and ems?
What is the benefit of .net core?
What are .net applications?