How do you implement multiple inheritance in .NET?
Answer Posted / cnu
Multiple inheritance means having more than 2 classes at
base level and only one class is derived from them.
In two cases only we can implement inheritance.
1.If we have maximum one class and minimum one interface at
base level.(its not possible in java).
2.If we have two or more interfaces at base level.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between string and stringbuilder in c#?
What is the difference between const and readonly in c#.net?
What is the difference between namespace and class in c#?
How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?
Why is c# good for games?
What is difference between property and variable in c#?
what is IFormatable
What is a console file?
What is difference between c and c sharp?
What is managed or unmanaged code?
What is difference between interface and abstraction?
What is gac? What are the steps to create an assembly and add it to the gac?
What is .edmx file?
What are native methods?
Can interface have virtual methods in c#?