0
C#
can one class inherit two classes in c#?
9 Answers
+ 4
You can inherit from only 1 class, however you can implement multiple interfaces.
+ 2
No, only one
+ 2
You can implement multiple interfaces :)
+ 1
I worked with Unity Engine a bit, but I don't have much knowedge. I've never implemented an interface in Unity, so if your question is related to that, I can't help you.
+ 1
Danila ary crazy(nope).
0
what about using interfaces?
0
@chris do you have some knowledge in unity game engie?
0
im trying to rise terrains but it cant it only lowers..
0
No,It's not possible(c# does not support multiple inheritance using classes). Although you can implement two or more interface in a single class or you can inherit one class and implement multiple interface in a class but can't inherit more than one class.