Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is object lock?



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

Post New Answer

More Dot Net General Interview Questions

Explain me why do we use msmq?

0 Answers  


. How .NET can support multiple languages?

1 Answers  


How to create properties and methods using controls?

0 Answers   CGI,


Explain why do we use msmq?

0 Answers  


what is AGILE SCRUM methodoly....?

1 Answers  


Where?s Windows service database located?

2 Answers  


What is immutability?

0 Answers  


What is IIS and how we deploy website on IIS.

2 Answers   NetLink,


What is machine.config in .net?

0 Answers  


What is the difference between .net and laravel?

0 Answers  


why .net does not support multiple inheritance?

2 Answers   Microsoft,


what is the meaning silverligt control

0 Answers  


Categories