Inheritance and Interfaces | Sololearn: Learn to code for FREE!


Inheritance and Interfaces

Can we implement interface and inherit from another class in same time? I know that in Java we can.

9/11/2016 8:42:53 PM

Vitali Bassov

4 Answers

New Answer


C# doesn't support multiple inheritance, a class can inherits from a single base class and implement any number of interfaces at the same time.


Yes you can.


What do you mean? Create an interface inherits an another none/interface class? That's what I'm thinking also, can an interface inherits?


yes you can, you can only inherit from one base class but you can implements an infinite number of interfaces