what is the purpose of interface in c#.net

Answer Posted / vai bhav

Basicalluy interface is used in any oops supported langusge
like c#.net to overcome the problem of multiple inheritance
i.e. inheriting more than one classes which have same
function also.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is attribute c#?

608


List the difference between interface and abstract class?

655


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

710


What is c# most used for?

766


What is the purpose of a constructor in c#?

667


Define parsing?

684


Are there constructors in c sharp?

756


Why do I get a syntax error when trying to declare a variable called checked?

794


Why do we need nullable types in c#?

914


Should I make my destructor virtual?

810


What is the difference between convert and parse in c#?

668


How to use reflection to call generic method?

670


What is an assembly loader?

703


What are the advantages of clr procedure over t-sql procedure?

798


Explain the difference between pass by value and pass by reference.

748