please can someone help me with this coz am totally lost
write a program in C# using multiple inheritance to calculate the area of a
rectangle. how do I do this?
Loading
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
AshishRank #8,652 · 218 reputationPosted Apr 30, 2014, 12:31 AM EDT
AshishRank #8,652 · 218 reputationPosted Apr 30, 2014, 12:32 AM EDT
LInda Joseph3 reputationPosted Apr 30, 2014, 12:35 AM EDT
Abhay ShankerRank #375 · 6.7K reputationPosted Apr 30, 2014, 1:20 AM EDT
http://compsci.ca/v3/viewtopic.php?t=21505
Munesh SharmaRank #174 · 13.9K reputationPosted Apr 30, 2014, 1:38 AM EDT
http://www.c-sharpcorner.com/Blogs/12108/
VulpesRank #55 · 29.2K reputationPosted Apr 30, 2014, 2:23 AM EDT
However, as the others have said, this isn't TRUE multiple inheritance in the sense of inheriting from multiple base classes. Instead, the Rectangle class inherits from one base class (Shape) and implements one interface (IArea):