Multiple interfaces implementation

Madhu.b.rokkam
Posted by Madhu.b.rokkam under C# category on | Points: 40 | Views : 2224
We can implement multiple interfaces by separating the interfaces by using a comma (,)

public class MyCar : IFord, IDieselCar
{
//Your code
}


here IFord and IDieselCar are interfaces

Comments or Responses

Posted by: T.saravanan on: 2/26/2011 Level:Silver | Status: [Member] [MVP] | Points: 10
Hi Madhu,

Nice Try...
But if you give brief explanation about Multiple interface, its really helpful to the viewers.


Posted by: Madhu.b.rokkam on: 2/27/2011 Level:Bronze | Status: [Member] [MVP] | Points: 10
Thanks Saravanan for your feedback..
Definite I will add this to my list.

Login to post response