Click here to Skip to main content
15,899,008 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I work on c# on visual studio 2015 i read and using interface class more

public interface dataInterface { //prototype function here }
and it have big role in solving multi inheritance on csharp

so that

What is the problems or disadvantages of using interface ?


What I have tried:

what is the problems or disadvantages of using interface class
Posted
Updated 17-Dec-18 22:15pm

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think - your tutor wants youir thoughts on this, not mine. So start by thinking about how an Interface differs from a Class and what you might use them for.

If you meet a specific problem, then please ask about that and we will do our best to help. But we aren't going to do it all for you!
 
Share this answer
 
 
Share this answer
 
Interfaces are valueable themselves (that is they are a neat concept in OOP programming). Then they are also the workaround to the lack of multiple inheritance of the C# programming language. You may easily find all the details in the documentation (and in good books).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900