Difference between multi-level and multiple inheritance?

Answer Posted / ankur

Multiple Inheritance:- It will done through 'Interface' in C#

Ex:- Interface1(or Class1) Interface2(or class2)
! !
! !
! !
! -------------------!
!
!
Class
Multilevel Inheritance :- In the multilevel inheritance One class another and so on

Class1
!
!
Class2
!
!
Class3

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define boxing and unboxing in c#?

483


What are value types in c#?

506


How can I access the registry from c# code?

518


Is null empty or whitespace c#?

505


How to create multi-dimensional array?

603






Where do we use serialization in c#?

498


What are virtual classes in c#?

535


What is the difference between returning iqueryable vs ienumerable?

457


What’s a strong name?

527


What’s thread.sleep() in threading ?

511


What is _viewstart cshtml?

481


What is Implementation inheritance and interface inheritance?

497


Can you instantiate a struct without using a new operator in c#?

536


Tell us something about static linking and dynamic linking?

536


How long does it take to get a loop recorder put in?

467