If a base class has a bunch of overloaded constructors, and
an inherited class has another bunch of overloaded
constructors, can you enforce a call from an inherited
constructor to an arbitrary base constructor?
Answer Posted / rahul
Yes, just place a colon, and then keyword base (parameter
list to invoke the appropriate constructor) in the
overloaded constructor definition inside the inherited class.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Why do we need a singleton class?
What is tochararray in c#?
Explain the term inheritance in C#.
What is the use of return in c#?
What's the c# syntax to catch any possible exception?
What is a nullreferenceexception and how do I fix it?
What is a dynamic assembly?
Why are c# strings immutable?
What is callback in c#?
What are the principles of delegation?
What is namespace in oop?
What is a delegate? How can it works?
2. What happened when BO object has been called?
How many parameters can a method have c#?
Do loops c#?