What is the use of interfaces when it just declares the methods/functions/etc. of an already existing class?

Posted by Nav234 under C# on 7/23/2010 | Views : 1113 | Status : [Member] | Replies : 1
Hi all

what is the plus value of interfaces when it just declares the methods/functions/etc. of an already existing class?
Moreover what good are these empty methods (only definition no implementations) by interface ?
The comment is not meant in a negative way, I just need to understand.

Thanks in advance

S.Naveen...


Responses

Posted by: Raja on: 7/24/2010 [Member] Starter

Up
0
Down
Hi Naveen,

Do not want to duplicate the content here so just follow this link http://www.dotnetfunda.com/forums/thread2173-purpose-of-interface.aspx to the answer.

I would still suggest to search the website for any question and if you didn't get the answer then ask the question here.

Thank you

Regards,
Raja, USA

Nav234, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response