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


Please Help Members By Posting Answers For Below Questions

What is the use of console application in c#?

676


What is readline c#?

652


What is the difference between “finalize” and “finally” methods in c#?

681


How can you reference current thread of the method ?

704


If you define a user defined data type by using the struct keyword, is it a value type or reference type?

686


What's the difference between a method and a procedure?

674


Which one is trusted and which one is untrusted?

680


What is toint32 c#?

811


Is stringbuilder thread safe c#?

632


What is using keyword in C#?

778


What is the use of console readkey in c#?

667


Is c# 8 released?

667


Explain the difference between Metadata and Manifest

734


What is expression tree in c#?

681


Can a class be private in c#?

689