What is monitor in C#?
No Answer is Posted For this Question
Be the First to Post Answer
What is difference between interface inheritance and class inheritance ?
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.
What is the purpose of a constructor in c#?
What is the difference between protected and internal in c#?
Who introduced c#?
How to transpose multi-dimensional array?
What is a framework in c#?
How does array sort work?
What is the use of xmlserializer?
What is static classes?
To catch any possible exception What is the C# syntax written ?
How do I do a case-insensitive string comparison?