How do you create multiple inheritance in C#?
Answer Posted / arunkumar.v
C# doesnt support multiple inheritence ie.,it doesnt
inherit multiple base class.It generally creates confusion.
Instead you can use Interfaces.You are permitted to inherit
one base class and multiple interfaces.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
We cannot create instances of static classes. Can we have constructors for static classes?
Are c# objects passed by reference?
Is it possible to have different access modifiers on the get/set methods of a property in c#?
What do you mean by winforms in c#?
What is the use of convert toint32 in c#?
What are assemblies?
Is for loop faster than foreach?
What is array formula?
What is selector c#?
What is a scope in c#?
How can you force derived classes to provide new method implementations for virtual methods?
What is null character in string?
What is the data encapsulation?
What is sqlcommandbuilder c#?
How do I run managed code in a process?