What are the problem with .NET generics?
No Answer is Posted For this Question
Be the First to Post Answer
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 meaning of Object lifetime in OOPS
What is the meaning of int parse in c#?
What is hiding in CSharp ?
What is cosole application?
To compute the monthly, half-yearly and annual sales made by all the salesmen of a company.
What is “using” statement in c#?
difference between keyword internal and protected?
What is the data provider name to connect to access database?
Distinguish between array and arraylist in c#?
Can interface inherit class in c#?
Does c# have a 'throws' clause?