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?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is an array of arrays called?
What is xml serialization in c#?
define ispostback and give some examples
Can we have private constructor in our class file. When we are trying to create instance for the class will it create or throw error regarding that?
What is a pre-requisite for connection pooling?
Is c# good for beginners?
What is difference between throw and throws in c#?
What are managed providers?
What is difference between class and abstract class in c#?
Is php better than c#?
What is callback function in c#?
In c#.Net Application For DataGridview binding which method is faster in below two case?Why..? 1)looping-Using For loop 2)Databinding direct using Dataset