Can we create instance of private class in c#?
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 GAC?
What is a namespace server?
What?s class SortedList underneath?
Why do we need constructor in c#?
What’s a strong name?
Is string primitive?
Can we create instance for Abstract class?
28 Answers HCL, Satyam, SoftSol, Wipro,
If the original method is not static you can declare an override method to be static or not?
Is datetime nullable c#?
What is typeof undefined?
What is inline function in c#?