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 is Assembly manifest? what all details the assembly manifest will contain.
What is the need of OLE-automation?
Name for built-in permission sets in .Net
Which Security Algorithm used to encrypt the data? a) DES b)RC2 c)Triple DES d)All the above
Can we have same method with same name and signature using partial classes
What is a formatter in .net?
What is a Strong Name?
What is the difference between asp.net & vb.net and explain architecture?
What is Assembly manifest? what all details the assembly manifest will contain.
What is an EXE?
What is IIS and how we deploy website on IIS.
What is Method Overriding? How to override a function in C#?