Multiple Inheritance is not allowed in C#?
why??????? plz help me....
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
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
Ramesh MaruthiRank #937 · 2.2K reputationPosted Sep 16, 2014, 12:12 PM EDT
http://www.programmerinterview.com/index.php/general-miscellaneous/why-dont-c-and-java-support-multiple-inheritance/
Posted Sep 17, 2014, 5:40 AM EDT
C# well attuned to real world scenario. That means a child or children can have one parent only, not multiple parents. Likewise in C# also inheritance is treated like real world child parent relationship. That mean a child class can only inherit from its parent class.