Why do you need Lock in Visual Basic?
Answer / Shashank Saurabh
You need locks in Visual Basic to prevent multiple threads from accessing the same resource simultaneously, which can lead to inconsistent data or unexpected behavior. Locks help ensure that only one thread can access a shared resource at a time.
| Is This Answer Correct ? | 0 Yes | 0 No |
When do you use virutal keyword?
What is the advantage of using system.text.stringbuilder over system.string?
Explain the difference between value and reference types?
what is intermediate language?
What is the difference between import system.data.sqlclient and system.data.oledb?
What keyword is used to accept a variable number of parameter in a method?
What is the role of new keyword?
What is the strong name in .net assembly?
What is the relation between Garbage collector and finalize and destructor?
What’s the difference between private and shared assembly?
How can we store decimal data in .net?
what is delegates
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)