Can we create instance of private class in c#?


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

Post New Answer

More C Sharp Interview Questions

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 GAC?

1 Answers   Cognizant,


What is a namespace server?

0 Answers  


What?s class SortedList underneath?

2 Answers  


Why do we need constructor in c#?

0 Answers  






What’s a strong name?

0 Answers  


Is string primitive?

0 Answers  


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?

0 Answers   Siebel,


Is datetime nullable c#?

0 Answers  


What is typeof undefined?

0 Answers  


What is inline function in c#?

0 Answers  


Categories