Why C# is not use multiple inheritance?

C# does not support multiple inheritance , because they reasoned that adding multiple inheritance added too much complexity to C# while providing too little benefit . In C#, the classes are only allowed to inherit from a single parent class, which is called single inheritance .

Sizin İçin Seçtik  What is polymorphism what is it for and how is it used?

Leave a Reply

Your email address will not be published. Required fields are marked *