Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
1700 Points
355 Posts
May 24, 2006 10:04 PM|LINK
martinbl
Participant
1700 Points
355 Posts
Re: Advantages of using Interfaces
May 24, 2006 10:04 PM|LINK
let's say you still have a IDrivable interface for anything that can be drove
but you also have an IFlyable for anything that can fly..
so if you have a class plane, you will have
public class Plane : IDrivable, IFlyable
{
// implement methods of IDrivable and IFlyable
}