what is the real use of interface in c#,other than that
multiple inheritance is not possible

Answer Posted / kalaimani

The interface contains only declaration of methods, no implementation. Because the interface is can be inherited by class and struct.

Is This Answer Correct ?    21 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a shared assembly?

632


Explain namespaces in c#.

665


What is the difference between const and readonly in c#.net?

563


What is super class in c#?

540


What is expression tree in c#?

570






How to find out that the code is written as managed or un-managed code?

695


What is the difference between mobile application and desktop application?

540


What are the principles of delegation?

585


Can you instantiate an abstract class c#?

576


Why do we write system in c#?

564


What is mvc firstordefault?

559


What is ispostback c#?

557


Is c# scripting language?

590


What is iqueryable in c#?

575


What is the difference between overriding and overloading in systemverilog?

538