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 anonymous class in c#?

873


What is null in database?

826


What is serialization in c#?

848


What is difference between ilist and list in c#?

912


What benefit do you get from using a primary interop assembly (pia)?

926


What is difference between asp net and c# net?

925


What is the difference between // comments, /* */ comments and /// comments?

802


What are the different types of literals in c#?

985


What's the difference between a method and a procedure?

913


Define Final Class in C#

972


What is the main purpose of xml?

875


How do I convert a string to an int in c#?

924


Can we override interface methods in c#?

805


What do you mean by thread safe in c#?

826


Can you use foreach iteration on arrays in c#?

1012