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 are classes in c#?

0 Answers  


What is a console operator?

0 Answers  


How do you mark a method obsolete?

0 Answers  


How to declares a two-dimensional array in C#?

0 Answers   DELL,


Why ienumerable is used in c#?

0 Answers  


What is assembly version series sequence?

0 Answers  


Explain the difference between event and a delegate in c#?

0 Answers   DELL,


Does C# support multiple inheritance?

3 Answers   IBM, Siebel Systems, Visual Soft,


Can you change the value of a variable while debugging a C# application?

1 Answers   Siebel Systems, Wipro,


What is poco c#?

0 Answers  


What does immutable mean in c#?

0 Answers  


What is func delegate in c#?

0 Answers  


Categories