How does it work?
No Answer is Posted For this Question
Be the First to Post Answer
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 }
Define method overloading in c#?
What is the difference between public, static, and void?
What are the desktop applications?
What does void mean unity?
How do you implement Inheritance in dot net ?
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.
How do I move from one form to another in c#?
Can a class be private in c#?
Is there any sample c# code for simple threading?
explain the nature of the assembly work?
What are Indexers in C#?
0 Answers SwanSoft Technologies,