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 garbage collection?
Explain different types of html, web and server controls.
What is an anonymous method?
Explain what relationship is between a process, application domain, and application?
can we use private assembly in other project in dot net.
What is garbage collection in .net? Explain the garbage collection process?
What's wrong with a line like this? Datetime.parse(mystring);
Dynamic Fonts
What does msil do?
Describe the programming model of a windows service
What should you do to store an object in a viewstate?
Is .net is a language?