Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is literal control

1065


What is an escape sequence in c#?

1020


How do I start a program in c#?

1045


What is view state c#?

942


How do you declare a variable in c#?

1013


What is difference between array and collection?

1133


What is thread.sleep()?

956


How will you allow a class to be inherited, but prevent the method from being over-ridden?

1078


What is yield break in c#?

961


What do you mean by for each loop?

965


What is the difference between an integer and int?

968


Is c# strongly typed?

894


Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?

1039


What do you mean by a windows process in regards to memory allocation?

1008


Why do we need properties in c#?

932