What is monitor in C#?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Sharp Interview Questions

What is difference between interface inheritance and class inheritance ?

8 Answers   Digital GlobalSoft,


Method1() { int a=0, b=0, c=0; Monitor.Enter(this) c = 12; b = 3; a = c/b Moniter.Exit(this) } Method1() { int a=0, b=0, c=0; c = 12; b = 3; lock(this){ a = c/b } } Choose correct answer. a. Upon completion, Method1 and Method2 release the lock b. Upon Comletion, Method1 release the lcok and Method2 not. c. Upon Completion, Method2 release the lock and Method1 not. d. Upon Completion, neither Method1 or Method to release the lock.

1 Answers  


What is the purpose of a constructor in c#?

0 Answers  


What is the difference between protected and internal in c#?

0 Answers  


Who introduced c#?

0 Answers  






How to transpose multi-dimensional array?

0 Answers   C DAC, CDAC,


What is a framework in c#?

0 Answers  


How does array sort work?

0 Answers  


What is the use of xmlserializer?

0 Answers  


What is static classes?

0 Answers  


To catch any possible exception What is the C# syntax written ?

0 Answers   Siebel,


How do I do a case-insensitive string comparison?

0 Answers  


Categories