What is difference between interface inheritance and class
inheritance ?

Answer Posted / kanan

1) C# doesn't support multiple inheritance, by inheriting
interface we can overcome this problem, as we can inherits
as many interface as we want.

2)implementation of class methods is not must like interface.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are constructors inherited c#?

666


What is regex c#?

670


Is it possible to nest cfml conditional tags?

719


What is strongly typed in c#?

661


Is a c# interface the same as a c++ abstract class?

747


What are the types of access modifiers?

667


In which order the destructor is called for an inherited class?

712


Describe ado.net?

751


Can I define my own exceptions?

662


What is int32 maxvalue?

717


What is value c#?

610


What's different between c# and c/c++?

703


Why singleton class is sealed?

694


What is difference between il and dll ?

731


Explain the difference between .net and c#?

689