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
What is windows form in c#?
What do you understand by 'access specifiers' in C#?
How is a loop recorder monitored?
Why do we need ienumerable in c#?
In a memory when you Box and Unbox a value-type what happens?
Is and as keyword in c# net?
What is array c#?
What are the advantages of interface in c#?
what is the difference between convert.tostring() and tostring() functions ?
What is continue in c#?
What is tpl in c#?
Why do we need collections in c#?
What is xor operation?
What is hash c#?
Explain About Iunknown interface Queue