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 |
Did it possible to cast a generic type of derived class to generic type of base class?
What are types in c#?
Define c# i/o classes?
Define sealed classes in c#?
What?s the .NET datatype that allows the retrieval of data by a unique key?
What is verbatim literal in c#?
What are data types in C#?
0 Answers TryTechnicals Pvt Ltd,
What is a method signature?
What are scriptable objects?
One start and stop button is there and one textbox is there.when you click start button ,it will display 1,2,3......up to infinite in textbox.when you click stop button it will stop.
How do I create a .exe file?
What are the different types of comments in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)