+ 2
Inheritance and Interfaces
Can we implement interface and inherit from another class in same time? I know that in Java we can.
4 odpowiedzi
+ 3
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.
0
Yes you can.
0
What do you mean? Create an interface inherits an another none/interface class? That's what I'm thinking also, can an interface inherits?
0
yes you can, you can only inherit from one base class but you can implements an infinite number of interfaces