How to Make an Interface methods specific to particular class [Resolved]

Posted by Ogipansrk under C# on 2/1/2012 | Points: 10 | Views : 895 | Status : [Member] | Replies : 1
Assume that I have defined an Interface with two methods print() and display().
Now I Have two classes which uses same interface.
But , I want to design interface in such a way that , each class should implement only particular methods.


Posted by: Ogipansrk on: 2/1/2012 [Member] Starter | Points: 25


The Best way what I figured out is to write seperate Interfaces.

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

Login to post response