How does it work?


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

Post New Answer

More C Sharp Interview Questions

Trace the O/p for a program on inheritance and Polymorphism. 3 classes A,B,C A with two methods public virtual SomeMethodA public virtual SomemoreMethodA B:A overide virtual SomeMethodA C:B new Method SomeMethodA override SomeMoreMethodA main method { b new instance of B b.SomeMethodA b.SomeMoreMethodA b1 new instance of C b1.SomeMethodA b1.SomeMoreMethodA }

1 Answers  


Define method overloading in c#?

0 Answers  


What is the difference between public, static, and void?

0 Answers  


What are the desktop applications?

0 Answers  


What does void mean unity?

0 Answers  






How do you implement Inheritance in dot net ?

5 Answers   MMTS, Sea Energy,


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  


How do I move from one form to another in c#?

0 Answers  


Can a class be private in c#?

0 Answers  


Is there any sample c# code for simple threading?

0 Answers  


explain the nature of the assembly work?

0 Answers   HCL,


What are Indexers in C#?

0 Answers   SwanSoft Technologies,


Categories