What is the use of lock keyword in C#?



What is the use of lock keyword in C#?..

Answer / guest

The lock keyword marks a statement block as a critical
section

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Dot Net WindowsForms Interview Questions

Which property of the progressbar control specifies the amount to increment the current value of the control?

0 Answers  


How to split a column header in gridview using c#.net?

0 Answers  


What are ACID properties of a transaction in DBMS (Database Management System)?

2 Answers   Arctern,


how find recored from the database

2 Answers   Wipro,


What is the use of form?

0 Answers  






What are windows applications?

0 Answers  


What?s the difference between the System.Web.UI.WebControls.DataGrid and System.Windows.Forms.DataGrid?

1 Answers  


Name the two main categories of .net components.

0 Answers  


Extension methods can be both static and normal class methods. Yes/No?

1 Answers   Arctern,


Which method grants a lock on a resource?

0 Answers  


How to use the FindControl() function to preselect an item in my dropdownlist?

0 Answers  


What is form based application?

0 Answers  


Categories