Plz Explain :-
In C# a Class can have how many maximum number of base classes
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ranjit PowarRank #553 · 4.4K reputationPosted Jan 19, 2016, 4:23 PM EST
If it helps you accept it as correct answer.
Ranjit PowarRank #553 · 4.4K reputationPosted Jan 19, 2016, 4:41 AM EST
Multiple inheritance:
class A
{
}
class B
{
}
class C:A,B
{
}
Multilevel Inheritance:
class A
{
}
class B:A
{
}
class C:B
{
}
The first one is multiple inheritance which is not supported in c#
Sandy SurwaseRank #8,477 · 221 reputationPosted Jan 18, 2016, 10:26 PM EST
Krishna Rajput SinghRank #605 · 4K reputationPosted Jan 18, 2016, 10:38 PM EST
Ravi PatelRank #439 · 5.7K reputationPosted Jan 18, 2016, 10:49 PM EST
Ranjit PowarRank #553 · 4.4K reputationPosted Jan 18, 2016, 10:52 PM EST
Sthitaprajnya Debasis NayakRank #2,017 · 717 reputationPosted Jan 19, 2016, 3:39 AM EST
Ravi PatelRank #439 · 5.7K reputationPosted Jan 19, 2016, 3:58 AM EST
Sthitaprajnya Debasis NayakRank #2,017 · 717 reputationPosted Jan 19, 2016, 4:06 AM EST
Ravi PatelRank #439 · 5.7K reputationPosted Jan 19, 2016, 4:13 AM EST
Phaneendra ChakravaramRank #2,544 · 549 reputationPosted Jan 19, 2016, 4:39 AM EST
Sthitaprajnya Debasis NayakRank #2,017 · 717 reputationPosted Jan 19, 2016, 4:52 AM EST
Sthitaprajnya Debasis NayakRank #2,017 · 717 reputationPosted Jan 19, 2016, 5:18 AM EST