Can you use multiple inheritance in .NET?
.NET supports only single inheritance. However the purpose is accomplished using multiple interfaces.
Why don’t we have multiple inheritance in .NET?
There
 are several reasons for this. In simple words, the efforts are more, 
benefits are less. Different languages have different implementation 
requirements of multiple inheritance. So in order to implement multiple 
inheritance, we need to study the implementation aspects of all the 
languages that are CLR compliant and then implement a common methodology
 of implementing it. This is too much of efforts. Moreover multiple 
interface inheritance very much covers the benefits that multiple 
inheritance has.
 More Details : 
 
 
No comments:
Post a Comment