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 c# command?
Explain what are the steps for creating clr trigger?
Illustrate the process of code compilation in c#?
Can I do things in il that I can't do in c#?
What is desktop example?
How do you create dlls in .NET
How can you read 3rd line from a text file?
How long does it take to learn c# for unity?
What is a byte in c#?
What is the data type for bit in c#?
What is the difference between a private assembly and a shared assembly?
What are the advantages of using assemble language programming?
What is parsing? How to parse a date time string?
Can mvc be used for desktop applications?
who is a protected class-level variable available to?