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 are native functions?

472


Where static variables are stored?

476


What are the 2 types of data types available in c#?

497


If I return out of a try/finally in c#, does the code in the finally-clause run?

552


How do you achieve polymorphism in c#?

505






Why do we write system in c#?

484


What is serialization in unity?

505


What are the steps to make an assembly to public?

500


What is difference between encapsulation and abstraction in c#?

459


List the fundamental oop concepts?

523


What is the difference between array and list in c#?

480


What are abstract classes in c#?

486


List down the differences between “dispose” and “finalize” methods in c#.

445


What is autopostback in c#?

477


hi, is compulsory .net knowledge need for biztalk server training. if need, how far?.tell me some info abt real time instructors in hyd or other?

1059