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?



If a base class has a bunch of overloaded constructors, and an inherited class has another bunch o..

Answer / js_m

yes, for example

class Root
{
public Root(int id) {...}
}

class Derived
{
public Derived (int id) : base(id)
{}
}

'public Derived (int id) : base(id)' does the need ful.

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More C Sharp Interview Questions

What does xpath return?

0 Answers  


What is the default value of object in c#?

0 Answers  


What are generations and how are they used by the garbage collector?

0 Answers  


How can I get around scope problems in a try/catch?

0 Answers  


What is the difference while using directive vs using statement ?

0 Answers  


What is a hashset c#?

0 Answers  


What is an ienumerable in c#?

0 Answers  


What is a .aspx file?

0 Answers  


What is the usage of transponders?

0 Answers   Wipro,


What is dataadapter c#?

0 Answers  


Is there an equivalent of exit() for quitting a c# .net application?

0 Answers  


What if an error occurs in Catch block, how can you prevent it?

2 Answers   IBM,


Categories